{"action":"created","issue":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/1024","repository_url":"https://api.github.com/repos/typeorm/typeorm","labels_url":"https://api.github.com/repos/typeorm/typeorm/issues/1024/labels{/name}","comments_url":"https://api.github.com/repos/typeorm/typeorm/issues/1024/comments","events_url":"https://api.github.com/repos/typeorm/typeorm/issues/1024/events","html_url":"https://github.com/typeorm/typeorm/issues/1024","id":264863056,"number":1024,"title":"How to query a view instead of a table in sqlite3?","user":{"login":"Deilan","id":4777512,"avatar_url":"https://avatars2.githubusercontent.com/u/4777512?v=4","gravatar_id":"","url":"https://api.github.com/users/Deilan","html_url":"https://github.com/Deilan","followers_url":"https://api.github.com/users/Deilan/followers","following_url":"https://api.github.com/users/Deilan/following{/other_user}","gists_url":"https://api.github.com/users/Deilan/gists{/gist_id}","starred_url":"https://api.github.com/users/Deilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deilan/subscriptions","organizations_url":"https://api.github.com/users/Deilan/orgs","repos_url":"https://api.github.com/users/Deilan/repos","events_url":"https://api.github.com/users/Deilan/events{/privacy}","received_events_url":"https://api.github.com/users/Deilan/received_events","type":"User","site_admin":false},"labels":[{"id":628492179,"url":"https://api.github.com/repos/typeorm/typeorm/labels/community","name":"community","color":"0e8a16","default":false},{"id":506189478,"url":"https://api.github.com/repos/typeorm/typeorm/labels/discussion","name":"discussion","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-12T08:57:46Z","updated_at":"2018-02-05T10:01:58Z","closed_at":null,"author_association":"NONE","body":"Let's say I have `sqlite3` and an entity `Person`. I want to create a view `PersonView` with some calculable data along with the original data in `Person`.\r\n\r\n1) How to query the view instead of the table with typeorm in sqlite3?\r\n2) Is there a way to \"redirect\" queries to the view instead of the table?"},"comment":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/comments/363036516","html_url":"https://github.com/typeorm/typeorm/issues/1024#issuecomment-363036516","issue_url":"https://api.github.com/repos/typeorm/typeorm/issues/1024","id":363036516,"user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars3.githubusercontent.com/u/1753397?v=4","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T10:01:58Z","updated_at":"2018-02-05T10:01:58Z","author_association":"OWNER","body":"Okay, then let's see if someone else is interesting in implementing this. Its easy to implement feature. Thanks for the design proposal."}}
{"actor":{"display_login":"pleerock"}}