{"action":"created","comment":{"url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/comments/67435413","id":67435413,"diff_hunk":"@@ -0,0 +1,34 @@\n+package knitgrid.knitgridkotlin.data\n+\n+import edu.lclark.knitgrid.data.PatternEntry\n+import org.jetbrains.anko.db.classParser\n+import org.jetbrains.anko.db.parseList\n+import org.jetbrains.anko.db.select\n+\n+/**\n+ * Query functions that read data from the SQLite database.","path":"app/src/main/kotlin/knitgrid/knitgridkotlin/data/DBQueries.kt","position":9,"original_position":9,"commit_id":"e8e7e4667fd5d4ae8e9d1f7647168ab7ff2310ec","original_commit_id":"e8e7e4667fd5d4ae8e9d1f7647168ab7ff2310ec","user":{"login":"connorlay","id":6548350,"avatar_url":"https://avatars.githubusercontent.com/u/6548350?v=3","gravatar_id":"","url":"https://api.github.com/users/connorlay","html_url":"https://github.com/connorlay","followers_url":"https://api.github.com/users/connorlay/followers","following_url":"https://api.github.com/users/connorlay/following{/other_user}","gists_url":"https://api.github.com/users/connorlay/gists{/gist_id}","starred_url":"https://api.github.com/users/connorlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorlay/subscriptions","organizations_url":"https://api.github.com/users/connorlay/orgs","repos_url":"https://api.github.com/users/connorlay/repos","events_url":"https://api.github.com/users/connorlay/events{/privacy}","received_events_url":"https://api.github.com/users/connorlay/received_events","type":"User","site_admin":false},"body":"Yes in the `DBCommands.kt` there are more top-level functions.","created_at":"2016-06-16T22:27:08Z","updated_at":"2016-06-16T22:27:08Z","html_url":"https://github.com/KnitGrid/knitgrid-kotlin/pull/1#discussion_r67435413","pull_request_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/comments/67435413"},"html":{"href":"https://github.com/KnitGrid/knitgrid-kotlin/pull/1#discussion_r67435413"},"pull_request":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/1","id":74146891,"html_url":"https://github.com/KnitGrid/knitgrid-kotlin/pull/1","diff_url":"https://github.com/KnitGrid/knitgrid-kotlin/pull/1.diff","patch_url":"https://github.com/KnitGrid/knitgrid-kotlin/pull/1.patch","issue_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues/1","number":1,"state":"open","locked":false,"title":"Add basic SQLite structure","user":{"login":"connorlay","id":6548350,"avatar_url":"https://avatars.githubusercontent.com/u/6548350?v=3","gravatar_id":"","url":"https://api.github.com/users/connorlay","html_url":"https://github.com/connorlay","followers_url":"https://api.github.com/users/connorlay/followers","following_url":"https://api.github.com/users/connorlay/following{/other_user}","gists_url":"https://api.github.com/users/connorlay/gists{/gist_id}","starred_url":"https://api.github.com/users/connorlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorlay/subscriptions","organizations_url":"https://api.github.com/users/connorlay/orgs","repos_url":"https://api.github.com/users/connorlay/repos","events_url":"https://api.github.com/users/connorlay/events{/privacy}","received_events_url":"https://api.github.com/users/connorlay/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-16T20:30:58Z","updated_at":"2016-06-16T22:27:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f26193da9dfc896e35ba2c4e76d783d4d471294","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues/1/comments","statuses_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/statuses/e8e7e4667fd5d4ae8e9d1f7647168ab7ff2310ec","head":{"label":"KnitGrid:sqlite","ref":"sqlite","sha":"e8e7e4667fd5d4ae8e9d1f7647168ab7ff2310ec","user":{"login":"KnitGrid","id":19639341,"avatar_url":"https://avatars.githubusercontent.com/u/19639341?v=3","gravatar_id":"","url":"https://api.github.com/users/KnitGrid","html_url":"https://github.com/KnitGrid","followers_url":"https://api.github.com/users/KnitGrid/followers","following_url":"https://api.github.com/users/KnitGrid/following{/other_user}","gists_url":"https://api.github.com/users/KnitGrid/gists{/gist_id}","starred_url":"https://api.github.com/users/KnitGrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnitGrid/subscriptions","organizations_url":"https://api.github.com/users/KnitGrid/orgs","repos_url":"https://api.github.com/users/KnitGrid/repos","events_url":"https://api.github.com/users/KnitGrid/events{/privacy}","received_events_url":"https://api.github.com/users/KnitGrid/received_events","type":"Organization","site_admin":false},"repo":{"id":60502891,"name":"knitgrid-kotlin","full_name":"KnitGrid/knitgrid-kotlin","owner":{"login":"KnitGrid","id":19639341,"avatar_url":"https://avatars.githubusercontent.com/u/19639341?v=3","gravatar_id":"","url":"https://api.github.com/users/KnitGrid","html_url":"https://github.com/KnitGrid","followers_url":"https://api.github.com/users/KnitGrid/followers","following_url":"https://api.github.com/users/KnitGrid/following{/other_user}","gists_url":"https://api.github.com/users/KnitGrid/gists{/gist_id}","starred_url":"https://api.github.com/users/KnitGrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnitGrid/subscriptions","organizations_url":"https://api.github.com/users/KnitGrid/orgs","repos_url":"https://api.github.com/users/KnitGrid/repos","events_url":"https://api.github.com/users/KnitGrid/events{/privacy}","received_events_url":"https://api.github.com/users/KnitGrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KnitGrid/knitgrid-kotlin","description":"The KnitGrid Android app, Kotlin edition.","fork":false,"url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin","forks_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/forks","keys_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/teams","hooks_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/hooks","issue_events_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues/events{/number}","events_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/events","assignees_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/assignees{/user}","branches_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/branches{/branch}","tags_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/tags","blobs_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/statuses/{sha}","languages_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/languages","stargazers_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/stargazers","contributors_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/contributors","subscribers_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/subscribers","subscription_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/subscription","commits_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues/comments{/number}","contents_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/contents/{+path}","compare_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/merges","archive_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/downloads","issues_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues{/number}","pulls_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls{/number}","milestones_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/milestones{/number}","notifications_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/labels{/name}","releases_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/releases{/id}","deployments_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/deployments","created_at":"2016-06-06T06:11:01Z","updated_at":"2016-06-06T06:11:10Z","pushed_at":"2016-06-16T20:30:58Z","git_url":"git://github.com/KnitGrid/knitgrid-kotlin.git","ssh_url":"git@github.com:KnitGrid/knitgrid-kotlin.git","clone_url":"https://github.com/KnitGrid/knitgrid-kotlin.git","svn_url":"https://github.com/KnitGrid/knitgrid-kotlin","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KnitGrid:master","ref":"master","sha":"28df093e2037ed030aa64f665e05fefe5b9a6246","user":{"login":"KnitGrid","id":19639341,"avatar_url":"https://avatars.githubusercontent.com/u/19639341?v=3","gravatar_id":"","url":"https://api.github.com/users/KnitGrid","html_url":"https://github.com/KnitGrid","followers_url":"https://api.github.com/users/KnitGrid/followers","following_url":"https://api.github.com/users/KnitGrid/following{/other_user}","gists_url":"https://api.github.com/users/KnitGrid/gists{/gist_id}","starred_url":"https://api.github.com/users/KnitGrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnitGrid/subscriptions","organizations_url":"https://api.github.com/users/KnitGrid/orgs","repos_url":"https://api.github.com/users/KnitGrid/repos","events_url":"https://api.github.com/users/KnitGrid/events{/privacy}","received_events_url":"https://api.github.com/users/KnitGrid/received_events","type":"Organization","site_admin":false},"repo":{"id":60502891,"name":"knitgrid-kotlin","full_name":"KnitGrid/knitgrid-kotlin","owner":{"login":"KnitGrid","id":19639341,"avatar_url":"https://avatars.githubusercontent.com/u/19639341?v=3","gravatar_id":"","url":"https://api.github.com/users/KnitGrid","html_url":"https://github.com/KnitGrid","followers_url":"https://api.github.com/users/KnitGrid/followers","following_url":"https://api.github.com/users/KnitGrid/following{/other_user}","gists_url":"https://api.github.com/users/KnitGrid/gists{/gist_id}","starred_url":"https://api.github.com/users/KnitGrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnitGrid/subscriptions","organizations_url":"https://api.github.com/users/KnitGrid/orgs","repos_url":"https://api.github.com/users/KnitGrid/repos","events_url":"https://api.github.com/users/KnitGrid/events{/privacy}","received_events_url":"https://api.github.com/users/KnitGrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KnitGrid/knitgrid-kotlin","description":"The KnitGrid Android app, Kotlin edition.","fork":false,"url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin","forks_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/forks","keys_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/teams","hooks_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/hooks","issue_events_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues/events{/number}","events_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/events","assignees_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/assignees{/user}","branches_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/branches{/branch}","tags_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/tags","blobs_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/statuses/{sha}","languages_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/languages","stargazers_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/stargazers","contributors_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/contributors","subscribers_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/subscribers","subscription_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/subscription","commits_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues/comments{/number}","contents_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/contents/{+path}","compare_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/merges","archive_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/downloads","issues_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues{/number}","pulls_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls{/number}","milestones_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/milestones{/number}","notifications_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/labels{/name}","releases_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/releases{/id}","deployments_url":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/deployments","created_at":"2016-06-06T06:11:01Z","updated_at":"2016-06-06T06:11:10Z","pushed_at":"2016-06-16T20:30:58Z","git_url":"git://github.com/KnitGrid/knitgrid-kotlin.git","ssh_url":"git@github.com:KnitGrid/knitgrid-kotlin.git","clone_url":"https://github.com/KnitGrid/knitgrid-kotlin.git","svn_url":"https://github.com/KnitGrid/knitgrid-kotlin","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/1"},"html":{"href":"https://github.com/KnitGrid/knitgrid-kotlin/pull/1"},"issue":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues/1"},"comments":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/KnitGrid/knitgrid-kotlin/statuses/e8e7e4667fd5d4ae8e9d1f7647168ab7ff2310ec"}}}}
{"actor":{"display_login":"connorlay"}}