{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls/35","id":66550034,"html_url":"https://github.com/FaaPz/Slim-PDO/pull/35","diff_url":"https://github.com/FaaPz/Slim-PDO/pull/35.diff","patch_url":"https://github.com/FaaPz/Slim-PDO/pull/35.patch","issue_url":"https://api.github.com/repos/FaaPz/Slim-PDO/issues/35","number":35,"state":"open","locked":false,"title":"Added the ability to insert and array similar to Update","user":{"login":"Raistlfiren","id":234712,"avatar_url":"https://avatars.githubusercontent.com/u/234712?v=3","gravatar_id":"","url":"https://api.github.com/users/Raistlfiren","html_url":"https://github.com/Raistlfiren","followers_url":"https://api.github.com/users/Raistlfiren/followers","following_url":"https://api.github.com/users/Raistlfiren/following{/other_user}","gists_url":"https://api.github.com/users/Raistlfiren/gists{/gist_id}","starred_url":"https://api.github.com/users/Raistlfiren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raistlfiren/subscriptions","organizations_url":"https://api.github.com/users/Raistlfiren/orgs","repos_url":"https://api.github.com/users/Raistlfiren/repos","events_url":"https://api.github.com/users/Raistlfiren/events{/privacy}","received_events_url":"https://api.github.com/users/Raistlfiren/received_events","type":"User","site_admin":false},"body":"Lazy programmer - added a way to do an insert based upon column/value pairs similar to update($pairs). With the insert statement you can now do \r\n\r\n\r\n> \r\n> $pairs = ['column' => 'value'];\r\n> \r\n> $db->insert([], $pairs)->into('news');\r\n","created_at":"2016-04-14T20:39:56Z","updated_at":"2016-04-14T20:39:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9af6ba5a2e5cb1f4d5b653d3378e2fe65a5e4781","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls/35/commits","review_comments_url":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls/35/comments","review_comment_url":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FaaPz/Slim-PDO/issues/35/comments","statuses_url":"https://api.github.com/repos/FaaPz/Slim-PDO/statuses/d37226c7b367cd6a5e453d99a87430558315b35c","head":{"label":"Raistlfiren:insert-from-pair","ref":"insert-from-pair","sha":"d37226c7b367cd6a5e453d99a87430558315b35c","user":{"login":"Raistlfiren","id":234712,"avatar_url":"https://avatars.githubusercontent.com/u/234712?v=3","gravatar_id":"","url":"https://api.github.com/users/Raistlfiren","html_url":"https://github.com/Raistlfiren","followers_url":"https://api.github.com/users/Raistlfiren/followers","following_url":"https://api.github.com/users/Raistlfiren/following{/other_user}","gists_url":"https://api.github.com/users/Raistlfiren/gists{/gist_id}","starred_url":"https://api.github.com/users/Raistlfiren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raistlfiren/subscriptions","organizations_url":"https://api.github.com/users/Raistlfiren/orgs","repos_url":"https://api.github.com/users/Raistlfiren/repos","events_url":"https://api.github.com/users/Raistlfiren/events{/privacy}","received_events_url":"https://api.github.com/users/Raistlfiren/received_events","type":"User","site_admin":false},"repo":{"id":56248006,"name":"Slim-PDO","full_name":"Raistlfiren/Slim-PDO","owner":{"login":"Raistlfiren","id":234712,"avatar_url":"https://avatars.githubusercontent.com/u/234712?v=3","gravatar_id":"","url":"https://api.github.com/users/Raistlfiren","html_url":"https://github.com/Raistlfiren","followers_url":"https://api.github.com/users/Raistlfiren/followers","following_url":"https://api.github.com/users/Raistlfiren/following{/other_user}","gists_url":"https://api.github.com/users/Raistlfiren/gists{/gist_id}","starred_url":"https://api.github.com/users/Raistlfiren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raistlfiren/subscriptions","organizations_url":"https://api.github.com/users/Raistlfiren/orgs","repos_url":"https://api.github.com/users/Raistlfiren/repos","events_url":"https://api.github.com/users/Raistlfiren/events{/privacy}","received_events_url":"https://api.github.com/users/Raistlfiren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Raistlfiren/Slim-PDO","description":"PDO database library for Slim Framework","fork":true,"url":"https://api.github.com/repos/Raistlfiren/Slim-PDO","forks_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/forks","keys_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/teams","hooks_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/hooks","issue_events_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/issues/events{/number}","events_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/events","assignees_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/assignees{/user}","branches_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/branches{/branch}","tags_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/tags","blobs_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/git/refs{/sha}","trees_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/statuses/{sha}","languages_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/languages","stargazers_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/stargazers","contributors_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/contributors","subscribers_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/subscribers","subscription_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/subscription","commits_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/commits{/sha}","git_commits_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/git/commits{/sha}","comments_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/comments{/number}","issue_comment_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/issues/comments{/number}","contents_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/contents/{+path}","compare_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/merges","archive_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/downloads","issues_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/issues{/number}","pulls_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/pulls{/number}","milestones_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/milestones{/number}","notifications_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/labels{/name}","releases_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/releases{/id}","deployments_url":"https://api.github.com/repos/Raistlfiren/Slim-PDO/deployments","created_at":"2016-04-14T15:17:51Z","updated_at":"2016-04-14T15:17:52Z","pushed_at":"2016-04-14T15:23:09Z","git_url":"git://github.com/Raistlfiren/Slim-PDO.git","ssh_url":"git@github.com:Raistlfiren/Slim-PDO.git","clone_url":"https://github.com/Raistlfiren/Slim-PDO.git","svn_url":"https://github.com/Raistlfiren/Slim-PDO","homepage":null,"size":64,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":0,"default_branch":"master"}},"base":{"label":"FaaPz:master","ref":"master","sha":"5f766ca63b8a8e45e7a27acaa3edadb1cf5e55a8","user":{"login":"FaaPz","id":1536742,"avatar_url":"https://avatars.githubusercontent.com/u/1536742?v=3","gravatar_id":"","url":"https://api.github.com/users/FaaPz","html_url":"https://github.com/FaaPz","followers_url":"https://api.github.com/users/FaaPz/followers","following_url":"https://api.github.com/users/FaaPz/following{/other_user}","gists_url":"https://api.github.com/users/FaaPz/gists{/gist_id}","starred_url":"https://api.github.com/users/FaaPz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FaaPz/subscriptions","organizations_url":"https://api.github.com/users/FaaPz/orgs","repos_url":"https://api.github.com/users/FaaPz/repos","events_url":"https://api.github.com/users/FaaPz/events{/privacy}","received_events_url":"https://api.github.com/users/FaaPz/received_events","type":"User","site_admin":false},"repo":{"id":39694926,"name":"Slim-PDO","full_name":"FaaPz/Slim-PDO","owner":{"login":"FaaPz","id":1536742,"avatar_url":"https://avatars.githubusercontent.com/u/1536742?v=3","gravatar_id":"","url":"https://api.github.com/users/FaaPz","html_url":"https://github.com/FaaPz","followers_url":"https://api.github.com/users/FaaPz/followers","following_url":"https://api.github.com/users/FaaPz/following{/other_user}","gists_url":"https://api.github.com/users/FaaPz/gists{/gist_id}","starred_url":"https://api.github.com/users/FaaPz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FaaPz/subscriptions","organizations_url":"https://api.github.com/users/FaaPz/orgs","repos_url":"https://api.github.com/users/FaaPz/repos","events_url":"https://api.github.com/users/FaaPz/events{/privacy}","received_events_url":"https://api.github.com/users/FaaPz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FaaPz/Slim-PDO","description":"PDO database library for Slim Framework","fork":false,"url":"https://api.github.com/repos/FaaPz/Slim-PDO","forks_url":"https://api.github.com/repos/FaaPz/Slim-PDO/forks","keys_url":"https://api.github.com/repos/FaaPz/Slim-PDO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FaaPz/Slim-PDO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FaaPz/Slim-PDO/teams","hooks_url":"https://api.github.com/repos/FaaPz/Slim-PDO/hooks","issue_events_url":"https://api.github.com/repos/FaaPz/Slim-PDO/issues/events{/number}","events_url":"https://api.github.com/repos/FaaPz/Slim-PDO/events","assignees_url":"https://api.github.com/repos/FaaPz/Slim-PDO/assignees{/user}","branches_url":"https://api.github.com/repos/FaaPz/Slim-PDO/branches{/branch}","tags_url":"https://api.github.com/repos/FaaPz/Slim-PDO/tags","blobs_url":"https://api.github.com/repos/FaaPz/Slim-PDO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FaaPz/Slim-PDO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FaaPz/Slim-PDO/git/refs{/sha}","trees_url":"https://api.github.com/repos/FaaPz/Slim-PDO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FaaPz/Slim-PDO/statuses/{sha}","languages_url":"https://api.github.com/repos/FaaPz/Slim-PDO/languages","stargazers_url":"https://api.github.com/repos/FaaPz/Slim-PDO/stargazers","contributors_url":"https://api.github.com/repos/FaaPz/Slim-PDO/contributors","subscribers_url":"https://api.github.com/repos/FaaPz/Slim-PDO/subscribers","subscription_url":"https://api.github.com/repos/FaaPz/Slim-PDO/subscription","commits_url":"https://api.github.com/repos/FaaPz/Slim-PDO/commits{/sha}","git_commits_url":"https://api.github.com/repos/FaaPz/Slim-PDO/git/commits{/sha}","comments_url":"https://api.github.com/repos/FaaPz/Slim-PDO/comments{/number}","issue_comment_url":"https://api.github.com/repos/FaaPz/Slim-PDO/issues/comments{/number}","contents_url":"https://api.github.com/repos/FaaPz/Slim-PDO/contents/{+path}","compare_url":"https://api.github.com/repos/FaaPz/Slim-PDO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FaaPz/Slim-PDO/merges","archive_url":"https://api.github.com/repos/FaaPz/Slim-PDO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FaaPz/Slim-PDO/downloads","issues_url":"https://api.github.com/repos/FaaPz/Slim-PDO/issues{/number}","pulls_url":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls{/number}","milestones_url":"https://api.github.com/repos/FaaPz/Slim-PDO/milestones{/number}","notifications_url":"https://api.github.com/repos/FaaPz/Slim-PDO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FaaPz/Slim-PDO/labels{/name}","releases_url":"https://api.github.com/repos/FaaPz/Slim-PDO/releases{/id}","deployments_url":"https://api.github.com/repos/FaaPz/Slim-PDO/deployments","created_at":"2015-07-25T17:03:00Z","updated_at":"2016-04-09T10:52:38Z","pushed_at":"2016-04-14T20:39:56Z","git_url":"git://github.com/FaaPz/Slim-PDO.git","ssh_url":"git@github.com:FaaPz/Slim-PDO.git","clone_url":"https://github.com/FaaPz/Slim-PDO.git","svn_url":"https://github.com/FaaPz/Slim-PDO","homepage":null,"size":73,"stargazers_count":63,"watchers_count":63,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":6,"forks":30,"open_issues":6,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls/35"},"html":{"href":"https://github.com/FaaPz/Slim-PDO/pull/35"},"issue":{"href":"https://api.github.com/repos/FaaPz/Slim-PDO/issues/35"},"comments":{"href":"https://api.github.com/repos/FaaPz/Slim-PDO/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FaaPz/Slim-PDO/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/FaaPz/Slim-PDO/statuses/d37226c7b367cd6a5e453d99a87430558315b35c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":27,"deletions":3,"changed_files":2}}