{"action":"created","issue":{"url":"https://api.github.com/repos/SlaxWeb/Framework/issues/118","repository_url":"https://api.github.com/repos/SlaxWeb/Framework","labels_url":"https://api.github.com/repos/SlaxWeb/Framework/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/SlaxWeb/Framework/issues/118/comments","events_url":"https://api.github.com/repos/SlaxWeb/Framework/issues/118/events","html_url":"https://github.com/SlaxWeb/Framework/issues/118","id":200396292,"number":118,"title":"[Database] Keep result object in model and serve data from it","user":{"login":"slax0rr","id":3025605,"avatar_url":"https://avatars.githubusercontent.com/u/3025605?v=3","gravatar_id":"","url":"https://api.github.com/users/slax0rr","html_url":"https://github.com/slax0rr","followers_url":"https://api.github.com/users/slax0rr/followers","following_url":"https://api.github.com/users/slax0rr/following{/other_user}","gists_url":"https://api.github.com/users/slax0rr/gists{/gist_id}","starred_url":"https://api.github.com/users/slax0rr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slax0rr/subscriptions","organizations_url":"https://api.github.com/users/slax0rr/orgs","repos_url":"https://api.github.com/users/slax0rr/repos","events_url":"https://api.github.com/users/slax0rr/events{/privacy}","received_events_url":"https://api.github.com/users/slax0rr/received_events","type":"User","site_admin":false},"labels":[{"id":328375211,"url":"https://api.github.com/repos/SlaxWeb/Framework/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"slax0rr","id":3025605,"avatar_url":"https://avatars.githubusercontent.com/u/3025605?v=3","gravatar_id":"","url":"https://api.github.com/users/slax0rr","html_url":"https://github.com/slax0rr","followers_url":"https://api.github.com/users/slax0rr/followers","following_url":"https://api.github.com/users/slax0rr/following{/other_user}","gists_url":"https://api.github.com/users/slax0rr/gists{/gist_id}","starred_url":"https://api.github.com/users/slax0rr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slax0rr/subscriptions","organizations_url":"https://api.github.com/users/slax0rr/orgs","repos_url":"https://api.github.com/users/slax0rr/repos","events_url":"https://api.github.com/users/slax0rr/events{/privacy}","received_events_url":"https://api.github.com/users/slax0rr/received_events","type":"User","site_admin":false},"assignees":[{"login":"slax0rr","id":3025605,"avatar_url":"https://avatars.githubusercontent.com/u/3025605?v=3","gravatar_id":"","url":"https://api.github.com/users/slax0rr","html_url":"https://github.com/slax0rr","followers_url":"https://api.github.com/users/slax0rr/followers","following_url":"https://api.github.com/users/slax0rr/following{/other_user}","gists_url":"https://api.github.com/users/slax0rr/gists{/gist_id}","starred_url":"https://api.github.com/users/slax0rr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slax0rr/subscriptions","organizations_url":"https://api.github.com/users/slax0rr/orgs","repos_url":"https://api.github.com/users/slax0rr/repos","events_url":"https://api.github.com/users/slax0rr/events{/privacy}","received_events_url":"https://api.github.com/users/slax0rr/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/SlaxWeb/Framework/milestones/3","html_url":"https://github.com/SlaxWeb/Framework/milestone/3","labels_url":"https://api.github.com/repos/SlaxWeb/Framework/milestones/3/labels","id":2247620,"number":3,"title":"0.5.0","description":"Not all new features are guaranteed to make it into the next version.","creator":{"login":"slax0rr","id":3025605,"avatar_url":"https://avatars.githubusercontent.com/u/3025605?v=3","gravatar_id":"","url":"https://api.github.com/users/slax0rr","html_url":"https://github.com/slax0rr","followers_url":"https://api.github.com/users/slax0rr/followers","following_url":"https://api.github.com/users/slax0rr/following{/other_user}","gists_url":"https://api.github.com/users/slax0rr/gists{/gist_id}","starred_url":"https://api.github.com/users/slax0rr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slax0rr/subscriptions","organizations_url":"https://api.github.com/users/slax0rr/orgs","repos_url":"https://api.github.com/users/slax0rr/repos","events_url":"https://api.github.com/users/slax0rr/events{/privacy}","received_events_url":"https://api.github.com/users/slax0rr/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":1,"state":"open","created_at":"2017-01-12T15:23:55Z","updated_at":"2017-01-22T20:03:01Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-01-12T15:27:02Z","updated_at":"2017-01-22T20:03:01Z","closed_at":"2017-01-22T20:03:01Z","body":"The BaseModel **select** method simply returns the Result object to the caller. The BaseModel must store this result object internally and provide methods for easy read from the Result object through magic methods. This way the user can typehint against the model, as typehinting against general result objects make little to no sense."},"comment":{"url":"https://api.github.com/repos/SlaxWeb/Framework/issues/comments/274355048","html_url":"https://github.com/SlaxWeb/Framework/issues/118#issuecomment-274355048","issue_url":"https://api.github.com/repos/SlaxWeb/Framework/issues/118","id":274355048,"user":{"login":"slax0rr","id":3025605,"avatar_url":"https://avatars.githubusercontent.com/u/3025605?v=3","gravatar_id":"","url":"https://api.github.com/users/slax0rr","html_url":"https://github.com/slax0rr","followers_url":"https://api.github.com/users/slax0rr/followers","following_url":"https://api.github.com/users/slax0rr/following{/other_user}","gists_url":"https://api.github.com/users/slax0rr/gists{/gist_id}","starred_url":"https://api.github.com/users/slax0rr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slax0rr/subscriptions","organizations_url":"https://api.github.com/users/slax0rr/orgs","repos_url":"https://api.github.com/users/slax0rr/repos","events_url":"https://api.github.com/users/slax0rr/events{/privacy}","received_events_url":"https://api.github.com/users/slax0rr/received_events","type":"User","site_admin":false},"created_at":"2017-01-22T20:03:01Z","updated_at":"2017-01-22T20:03:01Z","body":"Resolved."}}
{"actor":{"display_login":"slax0rr"}}