{"action":"created","issue":{"url":"https://api.github.com/repos/tomwalder/php-gds/issues/48","labels_url":"https://api.github.com/repos/tomwalder/php-gds/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/tomwalder/php-gds/issues/48/comments","events_url":"https://api.github.com/repos/tomwalder/php-gds/issues/48/events","html_url":"https://github.com/tomwalder/php-gds/issues/48","id":94131601,"number":48,"title":"Create a fetchByProperty method","user":{"login":"mivale","id":197782,"avatar_url":"https://avatars.githubusercontent.com/u/197782?v=3","gravatar_id":"","url":"https://api.github.com/users/mivale","html_url":"https://github.com/mivale","followers_url":"https://api.github.com/users/mivale/followers","following_url":"https://api.github.com/users/mivale/following{/other_user}","gists_url":"https://api.github.com/users/mivale/gists{/gist_id}","starred_url":"https://api.github.com/users/mivale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mivale/subscriptions","organizations_url":"https://api.github.com/users/mivale/orgs","repos_url":"https://api.github.com/users/mivale/repos","events_url":"https://api.github.com/users/mivale/events{/privacy}","received_events_url":"https://api.github.com/users/mivale/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomwalder/php-gds/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-09T19:23:09Z","updated_at":"2015-07-11T20:52:59Z","closed_at":null,"body":"Hi,\r\n\r\nCan you please create an option to retrieve records by the value of an arbitrary column?\r\n\r\nSomething along the lines of `fetchByProperty('property', 'value')`\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/tomwalder/php-gds/issues/comments/120661088","html_url":"https://github.com/tomwalder/php-gds/issues/48#issuecomment-120661088","issue_url":"https://api.github.com/repos/tomwalder/php-gds/issues/48","id":120661088,"user":{"login":"mivale","id":197782,"avatar_url":"https://avatars.githubusercontent.com/u/197782?v=3","gravatar_id":"","url":"https://api.github.com/users/mivale","html_url":"https://github.com/mivale","followers_url":"https://api.github.com/users/mivale/followers","following_url":"https://api.github.com/users/mivale/following{/other_user}","gists_url":"https://api.github.com/users/mivale/gists{/gist_id}","starred_url":"https://api.github.com/users/mivale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mivale/subscriptions","organizations_url":"https://api.github.com/users/mivale/orgs","repos_url":"https://api.github.com/users/mivale/repos","events_url":"https://api.github.com/users/mivale/events{/privacy}","received_events_url":"https://api.github.com/users/mivale/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T20:52:59Z","updated_at":"2015-07-11T20:52:59Z","body":"Have you had a look at https://github.com/pwhelan/datachore ?\r\nIt's a different approach (it's ODM) but is has chainable filters using a where() method.\r\n\r\nIk like you filter() approach a lot. It's clear, concise and leaves plenty room for different implementations.\r\n\r\nThunderbirds are go :-)"}}