{"action":"created","comment":{"url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/comments/216108444","pull_request_review_id":153529064,"id":216108444,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjEwODQ0NA==","diff_hunk":"@@ -0,0 +1,41 @@\n+const knex = require(\"knex\");\n+const knexConfig = require(\"../knexfile.js\");\n+const db = knex(knexConfig.development);\n+\n+module.exports = {\n+  get: (id,which) => {","path":"dbhelpers/helpers.js","position":null,"original_position":6,"commit_id":"e623a3f19f5691668aaf5366d9dac934627d3932","original_commit_id":"176903b6c51faccfeacf1dca68f3f98b46e03c02","user":{"login":"tysonwilliams","id":13605321,"node_id":"MDQ6VXNlcjEzNjA1MzIx","avatar_url":"https://avatars3.githubusercontent.com/u/13605321?v=4","gravatar_id":"","url":"https://api.github.com/users/tysonwilliams","html_url":"https://github.com/tysonwilliams","followers_url":"https://api.github.com/users/tysonwilliams/followers","following_url":"https://api.github.com/users/tysonwilliams/following{/other_user}","gists_url":"https://api.github.com/users/tysonwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/tysonwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysonwilliams/subscriptions","organizations_url":"https://api.github.com/users/tysonwilliams/orgs","repos_url":"https://api.github.com/users/tysonwilliams/repos","events_url":"https://api.github.com/users/tysonwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/tysonwilliams/received_events","type":"User","site_admin":false},"body":"Great job with the `get` and a **dynamic** _which_ param. Very cool. Same with your `delete`, `insert`, and `edit`.","created_at":"2018-09-07T23:20:16Z","updated_at":"2018-09-07T23:26:28Z","html_url":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS/pull/112#discussion_r216108444","pull_request_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/112","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/comments/216108444"},"html":{"href":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS/pull/112#discussion_r216108444"},"pull_request":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/112","id":213955940,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzOTU1OTQw","html_url":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS/pull/112","diff_url":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS/pull/112.diff","patch_url":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS/pull/112.patch","issue_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/issues/112","number":112,"state":"open","locked":false,"title":"Andrew McLaughlin (Sprint-Challenge-RDBMS)","user":{"login":"LaikaFusion","id":7572049,"node_id":"MDQ6VXNlcjc1NzIwNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/7572049?v=4","gravatar_id":"","url":"https://api.github.com/users/LaikaFusion","html_url":"https://github.com/LaikaFusion","followers_url":"https://api.github.com/users/LaikaFusion/followers","following_url":"https://api.github.com/users/LaikaFusion/following{/other_user}","gists_url":"https://api.github.com/users/LaikaFusion/gists{/gist_id}","starred_url":"https://api.github.com/users/LaikaFusion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaikaFusion/subscriptions","organizations_url":"https://api.github.com/users/LaikaFusion/orgs","repos_url":"https://api.github.com/users/LaikaFusion/repos","events_url":"https://api.github.com/users/LaikaFusion/events{/privacy}","received_events_url":"https://api.github.com/users/LaikaFusion/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-07T15:01:52Z","updated_at":"2018-09-07T23:26:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11f6d9c65914219c645664c1b7edcd0a682ae531","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/112/commits","review_comments_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/112/comments","review_comment_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/issues/112/comments","statuses_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/statuses/e623a3f19f5691668aaf5366d9dac934627d3932","head":{"label":"LaikaFusion:master","ref":"master","sha":"e623a3f19f5691668aaf5366d9dac934627d3932","user":{"login":"LaikaFusion","id":7572049,"node_id":"MDQ6VXNlcjc1NzIwNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/7572049?v=4","gravatar_id":"","url":"https://api.github.com/users/LaikaFusion","html_url":"https://github.com/LaikaFusion","followers_url":"https://api.github.com/users/LaikaFusion/followers","following_url":"https://api.github.com/users/LaikaFusion/following{/other_user}","gists_url":"https://api.github.com/users/LaikaFusion/gists{/gist_id}","starred_url":"https://api.github.com/users/LaikaFusion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaikaFusion/subscriptions","organizations_url":"https://api.github.com/users/LaikaFusion/orgs","repos_url":"https://api.github.com/users/LaikaFusion/repos","events_url":"https://api.github.com/users/LaikaFusion/events{/privacy}","received_events_url":"https://api.github.com/users/LaikaFusion/received_events","type":"User","site_admin":false},"repo":{"id":147838537,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4Mzg1Mzc=","name":"Sprint-Challenge-RDBMS","full_name":"LaikaFusion/Sprint-Challenge-RDBMS","owner":{"login":"LaikaFusion","id":7572049,"node_id":"MDQ6VXNlcjc1NzIwNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/7572049?v=4","gravatar_id":"","url":"https://api.github.com/users/LaikaFusion","html_url":"https://github.com/LaikaFusion","followers_url":"https://api.github.com/users/LaikaFusion/followers","following_url":"https://api.github.com/users/LaikaFusion/following{/other_user}","gists_url":"https://api.github.com/users/LaikaFusion/gists{/gist_id}","starred_url":"https://api.github.com/users/LaikaFusion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaikaFusion/subscriptions","organizations_url":"https://api.github.com/users/LaikaFusion/orgs","repos_url":"https://api.github.com/users/LaikaFusion/repos","events_url":"https://api.github.com/users/LaikaFusion/events{/privacy}","received_events_url":"https://api.github.com/users/LaikaFusion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LaikaFusion/Sprint-Challenge-RDBMS","description":"Sprint Challenge for Adding Persistence to Web APIs Sprint","fork":true,"url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS","forks_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/forks","keys_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/teams","hooks_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/hooks","issue_events_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/issues/events{/number}","events_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/events","assignees_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/assignees{/user}","branches_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/branches{/branch}","tags_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/tags","blobs_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/statuses/{sha}","languages_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/languages","stargazers_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/stargazers","contributors_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/contributors","subscribers_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/subscribers","subscription_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/subscription","commits_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/contents/{+path}","compare_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/merges","archive_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/downloads","issues_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/issues{/number}","pulls_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/pulls{/number}","milestones_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/milestones{/number}","notifications_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/labels{/name}","releases_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/releases{/id}","deployments_url":"https://api.github.com/repos/LaikaFusion/Sprint-Challenge-RDBMS/deployments","created_at":"2018-09-07T15:00:44Z","updated_at":"2018-09-07T16:37:10Z","pushed_at":"2018-09-07T16:37:08Z","git_url":"git://github.com/LaikaFusion/Sprint-Challenge-RDBMS.git","ssh_url":"git@github.com:LaikaFusion/Sprint-Challenge-RDBMS.git","clone_url":"https://github.com/LaikaFusion/Sprint-Challenge-RDBMS.git","svn_url":"https://github.com/LaikaFusion/Sprint-Challenge-RDBMS","homepage":"","size":37,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LambdaSchool:master","ref":"master","sha":"c3e26ec310f5ef3ed45cfc2e33dcba4612f3e985","user":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":113504739,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM1MDQ3Mzk=","name":"Sprint-Challenge-RDBMS","full_name":"LambdaSchool/Sprint-Challenge-RDBMS","owner":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS","description":"Sprint Challenge for Adding Persistence to Web APIs Sprint","fork":false,"url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS","forks_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/forks","keys_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/teams","hooks_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/hooks","issue_events_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/issues/events{/number}","events_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/events","assignees_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/assignees{/user}","branches_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/branches{/branch}","tags_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/tags","blobs_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/git/refs{/sha}","trees_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/statuses/{sha}","languages_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/languages","stargazers_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/stargazers","contributors_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/contributors","subscribers_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/subscribers","subscription_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/subscription","commits_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/commits{/sha}","git_commits_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/git/commits{/sha}","comments_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/comments{/number}","issue_comment_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/issues/comments{/number}","contents_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/contents/{+path}","compare_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/merges","archive_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/downloads","issues_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/issues{/number}","pulls_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls{/number}","milestones_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/milestones{/number}","notifications_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/labels{/name}","releases_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/releases{/id}","deployments_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/deployments","created_at":"2017-12-07T22:26:07Z","updated_at":"2018-09-07T14:04:59Z","pushed_at":"2018-09-07T23:25:11Z","git_url":"git://github.com/LambdaSchool/Sprint-Challenge-RDBMS.git","ssh_url":"git@github.com:LambdaSchool/Sprint-Challenge-RDBMS.git","clone_url":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS.git","svn_url":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS","homepage":"","size":10,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":171,"mirror_url":null,"archived":false,"open_issues_count":100,"license":null,"forks":171,"open_issues":100,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/112"},"html":{"href":"https://github.com/LambdaSchool/Sprint-Challenge-RDBMS/pull/112"},"issue":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/issues/112"},"comments":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge-RDBMS/statuses/e623a3f19f5691668aaf5366d9dac934627d3932"}},"author_association":"NONE"}}
{"actor":{"display_login":"tysonwilliams"}}