{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/readdle/fqdb/pulls/8","id":34512878,"html_url":"https://github.com/readdle/fqdb/pull/8","diff_url":"https://github.com/readdle/fqdb/pull/8.diff","patch_url":"https://github.com/readdle/fqdb/pull/8.patch","issue_url":"https://api.github.com/repos/readdle/fqdb/issues/8","number":8,"state":"closed","locked":false,"title":"trim on validating query","user":{"login":"aka-toxa","id":1811078,"avatar_url":"https://avatars.githubusercontent.com/u/1811078?v=3","gravatar_id":"","url":"https://api.github.com/users/aka-toxa","html_url":"https://github.com/aka-toxa","followers_url":"https://api.github.com/users/aka-toxa/followers","following_url":"https://api.github.com/users/aka-toxa/following{/other_user}","gists_url":"https://api.github.com/users/aka-toxa/gists{/gist_id}","starred_url":"https://api.github.com/users/aka-toxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aka-toxa/subscriptions","organizations_url":"https://api.github.com/users/aka-toxa/orgs","repos_url":"https://api.github.com/users/aka-toxa/repos","events_url":"https://api.github.com/users/aka-toxa/events{/privacy}","received_events_url":"https://api.github.com/users/aka-toxa/received_events","type":"User","site_admin":false},"body":"@AndrianBdn @draev @melya \r\n\r\nI think, that this will optimise some butt hurt causes with query string validation.\r\nNow we can use query like this:\r\n\r\n```php\r\n$this->fqdb->queryValue(\"\r\nSELECT `data` FROM test WHERE id=:rowId\", [\r\n  ':rowId' => $rowId\r\n]);\r\n```\r\n\r\nIt is very useful in some cases when we want to more elegance code","created_at":"2015-05-01T00:10:20Z","updated_at":"2015-05-01T05:29:33Z","closed_at":"2015-05-01T05:29:33Z","merged_at":"2015-05-01T05:29:33Z","merge_commit_sha":"2db1c7a72923885e9bf2da1b5b0974767cc7418c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/readdle/fqdb/pulls/8/commits","review_comments_url":"https://api.github.com/repos/readdle/fqdb/pulls/8/comments","review_comment_url":"https://api.github.com/repos/readdle/fqdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/readdle/fqdb/issues/8/comments","statuses_url":"https://api.github.com/repos/readdle/fqdb/statuses/61c28359c3e9c26d737a56bc101bd9f91497338f","head":{"label":"readdle:feature/trim_on_check_query","ref":"feature/trim_on_check_query","sha":"61c28359c3e9c26d737a56bc101bd9f91497338f","user":{"login":"readdle","id":4190811,"avatar_url":"https://avatars.githubusercontent.com/u/4190811?v=3","gravatar_id":"","url":"https://api.github.com/users/readdle","html_url":"https://github.com/readdle","followers_url":"https://api.github.com/users/readdle/followers","following_url":"https://api.github.com/users/readdle/following{/other_user}","gists_url":"https://api.github.com/users/readdle/gists{/gist_id}","starred_url":"https://api.github.com/users/readdle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/readdle/subscriptions","organizations_url":"https://api.github.com/users/readdle/orgs","repos_url":"https://api.github.com/users/readdle/repos","events_url":"https://api.github.com/users/readdle/events{/privacy}","received_events_url":"https://api.github.com/users/readdle/received_events","type":"Organization","site_admin":false},"repo":{"id":19178114,"name":"fqdb","full_name":"readdle/fqdb","owner":{"login":"readdle","id":4190811,"avatar_url":"https://avatars.githubusercontent.com/u/4190811?v=3","gravatar_id":"","url":"https://api.github.com/users/readdle","html_url":"https://github.com/readdle","followers_url":"https://api.github.com/users/readdle/followers","following_url":"https://api.github.com/users/readdle/following{/other_user}","gists_url":"https://api.github.com/users/readdle/gists{/gist_id}","starred_url":"https://api.github.com/users/readdle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/readdle/subscriptions","organizations_url":"https://api.github.com/users/readdle/orgs","repos_url":"https://api.github.com/users/readdle/repos","events_url":"https://api.github.com/users/readdle/events{/privacy}","received_events_url":"https://api.github.com/users/readdle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/readdle/fqdb","description":"PHP wrapper for PDO","fork":false,"url":"https://api.github.com/repos/readdle/fqdb","forks_url":"https://api.github.com/repos/readdle/fqdb/forks","keys_url":"https://api.github.com/repos/readdle/fqdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/readdle/fqdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/readdle/fqdb/teams","hooks_url":"https://api.github.com/repos/readdle/fqdb/hooks","issue_events_url":"https://api.github.com/repos/readdle/fqdb/issues/events{/number}","events_url":"https://api.github.com/repos/readdle/fqdb/events","assignees_url":"https://api.github.com/repos/readdle/fqdb/assignees{/user}","branches_url":"https://api.github.com/repos/readdle/fqdb/branches{/branch}","tags_url":"https://api.github.com/repos/readdle/fqdb/tags","blobs_url":"https://api.github.com/repos/readdle/fqdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/readdle/fqdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/readdle/fqdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/readdle/fqdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/readdle/fqdb/statuses/{sha}","languages_url":"https://api.github.com/repos/readdle/fqdb/languages","stargazers_url":"https://api.github.com/repos/readdle/fqdb/stargazers","contributors_url":"https://api.github.com/repos/readdle/fqdb/contributors","subscribers_url":"https://api.github.com/repos/readdle/fqdb/subscribers","subscription_url":"https://api.github.com/repos/readdle/fqdb/subscription","commits_url":"https://api.github.com/repos/readdle/fqdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/readdle/fqdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/readdle/fqdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/readdle/fqdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/readdle/fqdb/contents/{+path}","compare_url":"https://api.github.com/repos/readdle/fqdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/readdle/fqdb/merges","archive_url":"https://api.github.com/repos/readdle/fqdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/readdle/fqdb/downloads","issues_url":"https://api.github.com/repos/readdle/fqdb/issues{/number}","pulls_url":"https://api.github.com/repos/readdle/fqdb/pulls{/number}","milestones_url":"https://api.github.com/repos/readdle/fqdb/milestones{/number}","notifications_url":"https://api.github.com/repos/readdle/fqdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/readdle/fqdb/labels{/name}","releases_url":"https://api.github.com/repos/readdle/fqdb/releases{/id}","created_at":"2014-04-26T13:33:30Z","updated_at":"2015-04-17T08:59:49Z","pushed_at":"2015-05-01T05:29:33Z","git_url":"git://github.com/readdle/fqdb.git","ssh_url":"git@github.com:readdle/fqdb.git","clone_url":"https://github.com/readdle/fqdb.git","svn_url":"https://github.com/readdle/fqdb","homepage":"","size":380,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"readdle:master","ref":"master","sha":"91515f580c3fe2269c79b5014c6ab6c64bb3e958","user":{"login":"readdle","id":4190811,"avatar_url":"https://avatars.githubusercontent.com/u/4190811?v=3","gravatar_id":"","url":"https://api.github.com/users/readdle","html_url":"https://github.com/readdle","followers_url":"https://api.github.com/users/readdle/followers","following_url":"https://api.github.com/users/readdle/following{/other_user}","gists_url":"https://api.github.com/users/readdle/gists{/gist_id}","starred_url":"https://api.github.com/users/readdle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/readdle/subscriptions","organizations_url":"https://api.github.com/users/readdle/orgs","repos_url":"https://api.github.com/users/readdle/repos","events_url":"https://api.github.com/users/readdle/events{/privacy}","received_events_url":"https://api.github.com/users/readdle/received_events","type":"Organization","site_admin":false},"repo":{"id":19178114,"name":"fqdb","full_name":"readdle/fqdb","owner":{"login":"readdle","id":4190811,"avatar_url":"https://avatars.githubusercontent.com/u/4190811?v=3","gravatar_id":"","url":"https://api.github.com/users/readdle","html_url":"https://github.com/readdle","followers_url":"https://api.github.com/users/readdle/followers","following_url":"https://api.github.com/users/readdle/following{/other_user}","gists_url":"https://api.github.com/users/readdle/gists{/gist_id}","starred_url":"https://api.github.com/users/readdle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/readdle/subscriptions","organizations_url":"https://api.github.com/users/readdle/orgs","repos_url":"https://api.github.com/users/readdle/repos","events_url":"https://api.github.com/users/readdle/events{/privacy}","received_events_url":"https://api.github.com/users/readdle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/readdle/fqdb","description":"PHP wrapper for PDO","fork":false,"url":"https://api.github.com/repos/readdle/fqdb","forks_url":"https://api.github.com/repos/readdle/fqdb/forks","keys_url":"https://api.github.com/repos/readdle/fqdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/readdle/fqdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/readdle/fqdb/teams","hooks_url":"https://api.github.com/repos/readdle/fqdb/hooks","issue_events_url":"https://api.github.com/repos/readdle/fqdb/issues/events{/number}","events_url":"https://api.github.com/repos/readdle/fqdb/events","assignees_url":"https://api.github.com/repos/readdle/fqdb/assignees{/user}","branches_url":"https://api.github.com/repos/readdle/fqdb/branches{/branch}","tags_url":"https://api.github.com/repos/readdle/fqdb/tags","blobs_url":"https://api.github.com/repos/readdle/fqdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/readdle/fqdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/readdle/fqdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/readdle/fqdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/readdle/fqdb/statuses/{sha}","languages_url":"https://api.github.com/repos/readdle/fqdb/languages","stargazers_url":"https://api.github.com/repos/readdle/fqdb/stargazers","contributors_url":"https://api.github.com/repos/readdle/fqdb/contributors","subscribers_url":"https://api.github.com/repos/readdle/fqdb/subscribers","subscription_url":"https://api.github.com/repos/readdle/fqdb/subscription","commits_url":"https://api.github.com/repos/readdle/fqdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/readdle/fqdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/readdle/fqdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/readdle/fqdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/readdle/fqdb/contents/{+path}","compare_url":"https://api.github.com/repos/readdle/fqdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/readdle/fqdb/merges","archive_url":"https://api.github.com/repos/readdle/fqdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/readdle/fqdb/downloads","issues_url":"https://api.github.com/repos/readdle/fqdb/issues{/number}","pulls_url":"https://api.github.com/repos/readdle/fqdb/pulls{/number}","milestones_url":"https://api.github.com/repos/readdle/fqdb/milestones{/number}","notifications_url":"https://api.github.com/repos/readdle/fqdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/readdle/fqdb/labels{/name}","releases_url":"https://api.github.com/repos/readdle/fqdb/releases{/id}","created_at":"2014-04-26T13:33:30Z","updated_at":"2015-04-17T08:59:49Z","pushed_at":"2015-05-01T05:29:33Z","git_url":"git://github.com/readdle/fqdb.git","ssh_url":"git@github.com:readdle/fqdb.git","clone_url":"https://github.com/readdle/fqdb.git","svn_url":"https://github.com/readdle/fqdb","homepage":"","size":380,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/readdle/fqdb/pulls/8"},"html":{"href":"https://github.com/readdle/fqdb/pull/8"},"issue":{"href":"https://api.github.com/repos/readdle/fqdb/issues/8"},"comments":{"href":"https://api.github.com/repos/readdle/fqdb/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/readdle/fqdb/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/readdle/fqdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/readdle/fqdb/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/readdle/fqdb/statuses/61c28359c3e9c26d737a56bc101bd9f91497338f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"AndrianBdn","id":994900,"avatar_url":"https://avatars.githubusercontent.com/u/994900?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrianBdn","html_url":"https://github.com/AndrianBdn","followers_url":"https://api.github.com/users/AndrianBdn/followers","following_url":"https://api.github.com/users/AndrianBdn/following{/other_user}","gists_url":"https://api.github.com/users/AndrianBdn/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrianBdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrianBdn/subscriptions","organizations_url":"https://api.github.com/users/AndrianBdn/orgs","repos_url":"https://api.github.com/users/AndrianBdn/repos","events_url":"https://api.github.com/users/AndrianBdn/events{/privacy}","received_events_url":"https://api.github.com/users/AndrianBdn/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":0,"changed_files":2}}