{"action":"created","comment":{"url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/comments/24753816","id":24753816,"diff_hunk":"@@ -247,7 +249,21 @@ trait DBSession extends LogSupport with LoanPattern {\n    * @return result as list\n    */\n   def list[A](template: String, params: Any*)(extract: WrappedResultSet => A): List[A] = {\n-    traversable(template, params: _*)(extract).toList\n+    collection[A, List](template, params: _*)(extract)\n+  }\n+\n+  /**\n+   * Returns query result as any Collection object.\n+   *\n+   * @param template SQL template\n+   * @param params parameters\n+   * @param extract extract function\n+   * @tparam A return type\n+   * @tparam C[_] return collection type","path":"scalikejdbc-core/src/main/scala/scalikejdbc/DBSession.scala","position":33,"original_position":33,"commit_id":"f1638c55c9dec6e421adcdb4727fcba011628f05","original_commit_id":"f1638c55c9dec6e421adcdb4727fcba011628f05","user":{"login":"xuwei-k","id":389787,"avatar_url":"https://avatars.githubusercontent.com/u/389787?v=3","gravatar_id":"","url":"https://api.github.com/users/xuwei-k","html_url":"https://github.com/xuwei-k","followers_url":"https://api.github.com/users/xuwei-k/followers","following_url":"https://api.github.com/users/xuwei-k/following{/other_user}","gists_url":"https://api.github.com/users/xuwei-k/gists{/gist_id}","starred_url":"https://api.github.com/users/xuwei-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuwei-k/subscriptions","organizations_url":"https://api.github.com/users/xuwei-k/orgs","repos_url":"https://api.github.com/users/xuwei-k/repos","events_url":"https://api.github.com/users/xuwei-k/events{/privacy}","received_events_url":"https://api.github.com/users/xuwei-k/received_events","type":"User","site_admin":false},"body":"Is this correct scaladoc syntax?","created_at":"2015-02-16T14:37:28Z","updated_at":"2015-02-16T14:37:28Z","html_url":"https://github.com/scalikejdbc/scalikejdbc/pull/362#discussion_r24753816","pull_request_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/362","_links":{"self":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/comments/24753816"},"html":{"href":"https://github.com/scalikejdbc/scalikejdbc/pull/362#discussion_r24753816"},"pull_request":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/362"}}},"pull_request":{"url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/362","id":29328872,"html_url":"https://github.com/scalikejdbc/scalikejdbc/pull/362","diff_url":"https://github.com/scalikejdbc/scalikejdbc/pull/362.diff","patch_url":"https://github.com/scalikejdbc/scalikejdbc/pull/362.patch","issue_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/issues/362","number":362,"state":"open","locked":false,"title":"Added SQLToCollection and DBSession#collection","user":{"login":"xuwei-k","id":389787,"avatar_url":"https://avatars.githubusercontent.com/u/389787?v=3","gravatar_id":"","url":"https://api.github.com/users/xuwei-k","html_url":"https://github.com/xuwei-k","followers_url":"https://api.github.com/users/xuwei-k/followers","following_url":"https://api.github.com/users/xuwei-k/following{/other_user}","gists_url":"https://api.github.com/users/xuwei-k/gists{/gist_id}","starred_url":"https://api.github.com/users/xuwei-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuwei-k/subscriptions","organizations_url":"https://api.github.com/users/xuwei-k/orgs","repos_url":"https://api.github.com/users/xuwei-k/repos","events_url":"https://api.github.com/users/xuwei-k/events{/privacy}","received_events_url":"https://api.github.com/users/xuwei-k/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-15T02:24:38Z","updated_at":"2015-02-16T14:37:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"272e4a782f1e48a0e47bcb4f164face64550941e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/362/commits","review_comments_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/362/comments","review_comment_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/issues/362/comments","statuses_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/statuses/f1638c55c9dec6e421adcdb4727fcba011628f05","head":{"label":"xuwei-k:SQLToCollection","ref":"SQLToCollection","sha":"f1638c55c9dec6e421adcdb4727fcba011628f05","user":{"login":"xuwei-k","id":389787,"avatar_url":"https://avatars.githubusercontent.com/u/389787?v=3","gravatar_id":"","url":"https://api.github.com/users/xuwei-k","html_url":"https://github.com/xuwei-k","followers_url":"https://api.github.com/users/xuwei-k/followers","following_url":"https://api.github.com/users/xuwei-k/following{/other_user}","gists_url":"https://api.github.com/users/xuwei-k/gists{/gist_id}","starred_url":"https://api.github.com/users/xuwei-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuwei-k/subscriptions","organizations_url":"https://api.github.com/users/xuwei-k/orgs","repos_url":"https://api.github.com/users/xuwei-k/repos","events_url":"https://api.github.com/users/xuwei-k/events{/privacy}","received_events_url":"https://api.github.com/users/xuwei-k/received_events","type":"User","site_admin":false},"repo":{"id":5910056,"name":"scalikejdbc","full_name":"xuwei-k/scalikejdbc","owner":{"login":"xuwei-k","id":389787,"avatar_url":"https://avatars.githubusercontent.com/u/389787?v=3","gravatar_id":"","url":"https://api.github.com/users/xuwei-k","html_url":"https://github.com/xuwei-k","followers_url":"https://api.github.com/users/xuwei-k/followers","following_url":"https://api.github.com/users/xuwei-k/following{/other_user}","gists_url":"https://api.github.com/users/xuwei-k/gists{/gist_id}","starred_url":"https://api.github.com/users/xuwei-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuwei-k/subscriptions","organizations_url":"https://api.github.com/users/xuwei-k/orgs","repos_url":"https://api.github.com/users/xuwei-k/repos","events_url":"https://api.github.com/users/xuwei-k/events{/privacy}","received_events_url":"https://api.github.com/users/xuwei-k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xuwei-k/scalikejdbc","description":"fork from https://github.com/scalikejdbc/scalikejdbc","fork":true,"url":"https://api.github.com/repos/xuwei-k/scalikejdbc","forks_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/forks","keys_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/teams","hooks_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/hooks","issue_events_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/issues/events{/number}","events_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/events","assignees_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/assignees{/user}","branches_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/branches{/branch}","tags_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/tags","blobs_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/git/refs{/sha}","trees_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/statuses/{sha}","languages_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/languages","stargazers_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/stargazers","contributors_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/contributors","subscribers_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/subscribers","subscription_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/subscription","commits_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/commits{/sha}","git_commits_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/git/commits{/sha}","comments_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/comments{/number}","issue_comment_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/issues/comments/{number}","contents_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/contents/{+path}","compare_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/merges","archive_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/downloads","issues_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/issues{/number}","pulls_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/pulls{/number}","milestones_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/milestones{/number}","notifications_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/labels{/name}","releases_url":"https://api.github.com/repos/xuwei-k/scalikejdbc/releases{/id}","created_at":"2012-09-22T03:51:39Z","updated_at":"2015-02-16T10:22:08Z","pushed_at":"2015-02-16T14:30:26Z","git_url":"git://github.com/xuwei-k/scalikejdbc.git","ssh_url":"git@github.com:xuwei-k/scalikejdbc.git","clone_url":"https://github.com/xuwei-k/scalikejdbc.git","svn_url":"https://github.com/xuwei-k/scalikejdbc","homepage":"","size":6836,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"scalikejdbc:develop","ref":"develop","sha":"ada98f598714df9d10e1adce68ec595b90efdd24","user":{"login":"scalikejdbc","id":5978675,"avatar_url":"https://avatars.githubusercontent.com/u/5978675?v=3","gravatar_id":"","url":"https://api.github.com/users/scalikejdbc","html_url":"https://github.com/scalikejdbc","followers_url":"https://api.github.com/users/scalikejdbc/followers","following_url":"https://api.github.com/users/scalikejdbc/following{/other_user}","gists_url":"https://api.github.com/users/scalikejdbc/gists{/gist_id}","starred_url":"https://api.github.com/users/scalikejdbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalikejdbc/subscriptions","organizations_url":"https://api.github.com/users/scalikejdbc/orgs","repos_url":"https://api.github.com/users/scalikejdbc/repos","events_url":"https://api.github.com/users/scalikejdbc/events{/privacy}","received_events_url":"https://api.github.com/users/scalikejdbc/received_events","type":"Organization","site_admin":false},"repo":{"id":2801094,"name":"scalikejdbc","full_name":"scalikejdbc/scalikejdbc","owner":{"login":"scalikejdbc","id":5978675,"avatar_url":"https://avatars.githubusercontent.com/u/5978675?v=3","gravatar_id":"","url":"https://api.github.com/users/scalikejdbc","html_url":"https://github.com/scalikejdbc","followers_url":"https://api.github.com/users/scalikejdbc/followers","following_url":"https://api.github.com/users/scalikejdbc/following{/other_user}","gists_url":"https://api.github.com/users/scalikejdbc/gists{/gist_id}","starred_url":"https://api.github.com/users/scalikejdbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalikejdbc/subscriptions","organizations_url":"https://api.github.com/users/scalikejdbc/orgs","repos_url":"https://api.github.com/users/scalikejdbc/repos","events_url":"https://api.github.com/users/scalikejdbc/events{/privacy}","received_events_url":"https://api.github.com/users/scalikejdbc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scalikejdbc/scalikejdbc","description":"A tidy SQL-based DB access library for Scala developers. This library naturally wraps JDBC APIs and provides you easy-to-use APIs.","fork":false,"url":"https://api.github.com/repos/scalikejdbc/scalikejdbc","forks_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/forks","keys_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/teams","hooks_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/hooks","issue_events_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/issues/events{/number}","events_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/events","assignees_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/assignees{/user}","branches_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/branches{/branch}","tags_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/tags","blobs_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/git/refs{/sha}","trees_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/statuses/{sha}","languages_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/languages","stargazers_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/stargazers","contributors_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/contributors","subscribers_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/subscribers","subscription_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/subscription","commits_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/commits{/sha}","git_commits_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/git/commits{/sha}","comments_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/comments{/number}","issue_comment_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/issues/comments/{number}","contents_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/contents/{+path}","compare_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/merges","archive_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/downloads","issues_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/issues{/number}","pulls_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls{/number}","milestones_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/milestones{/number}","notifications_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/labels{/name}","releases_url":"https://api.github.com/repos/scalikejdbc/scalikejdbc/releases{/id}","created_at":"2011-11-18T06:56:36Z","updated_at":"2015-02-16T14:25:57Z","pushed_at":"2015-02-16T14:25:57Z","git_url":"git://github.com/scalikejdbc/scalikejdbc.git","ssh_url":"git@github.com:scalikejdbc/scalikejdbc.git","clone_url":"https://github.com/scalikejdbc/scalikejdbc.git","svn_url":"https://github.com/scalikejdbc/scalikejdbc","homepage":"http://scalikejdbc.org/","size":7716,"stargazers_count":374,"watchers_count":374,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":5,"forks":58,"open_issues":5,"watchers":374,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/362"},"html":{"href":"https://github.com/scalikejdbc/scalikejdbc/pull/362"},"issue":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/issues/362"},"comments":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/issues/362/comments"},"review_comments":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/362/comments"},"review_comment":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/pulls/362/commits"},"statuses":{"href":"https://api.github.com/repos/scalikejdbc/scalikejdbc/statuses/f1638c55c9dec6e421adcdb4727fcba011628f05"}}}}