{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/flask-sqlalchemy/issues/319","labels_url":"https://api.github.com/repos/mitsuhiko/flask-sqlalchemy/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/flask-sqlalchemy/issues/319/comments","events_url":"https://api.github.com/repos/mitsuhiko/flask-sqlalchemy/issues/319/events","html_url":"https://github.com/mitsuhiko/flask-sqlalchemy/issues/319","id":86612406,"number":319,"title":"Specify a custom query class","user":{"login":"immunda","id":524365,"avatar_url":"https://avatars.githubusercontent.com/u/524365?v=3","gravatar_id":"","url":"https://api.github.com/users/immunda","html_url":"https://github.com/immunda","followers_url":"https://api.github.com/users/immunda/followers","following_url":"https://api.github.com/users/immunda/following{/other_user}","gists_url":"https://api.github.com/users/immunda/gists{/gist_id}","starred_url":"https://api.github.com/users/immunda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immunda/subscriptions","organizations_url":"https://api.github.com/users/immunda/orgs","repos_url":"https://api.github.com/users/immunda/repos","events_url":"https://api.github.com/users/immunda/events{/privacy}","received_events_url":"https://api.github.com/users/immunda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mitsuhiko/flask-sqlalchemy/milestones/2","html_url":"https://github.com/mitsuhiko/flask-sqlalchemy/milestones/v3.0","labels_url":"https://api.github.com/repos/mitsuhiko/flask-sqlalchemy/milestones/2/labels","id":767681,"number":2,"title":"v3.0","description":"","creator":{"login":"immunda","id":524365,"avatar_url":"https://avatars.githubusercontent.com/u/524365?v=3","gravatar_id":"","url":"https://api.github.com/users/immunda","html_url":"https://github.com/immunda","followers_url":"https://api.github.com/users/immunda/followers","following_url":"https://api.github.com/users/immunda/following{/other_user}","gists_url":"https://api.github.com/users/immunda/gists{/gist_id}","starred_url":"https://api.github.com/users/immunda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immunda/subscriptions","organizations_url":"https://api.github.com/users/immunda/orgs","repos_url":"https://api.github.com/users/immunda/repos","events_url":"https://api.github.com/users/immunda/events{/privacy}","received_events_url":"https://api.github.com/users/immunda/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":4,"state":"open","created_at":"2014-08-27T17:06:57Z","updated_at":"2015-12-04T11:00:25Z","due_on":"2015-12-12T00:00:00Z","closed_at":null},"comments":5,"created_at":"2015-06-09T14:11:50Z","updated_at":"2015-12-04T11:00:25Z","closed_at":"2015-12-04T11:00:25Z","body":"Devise a cohesive way to be able to provide a custom query class, which would be used for `Model.query_class`, `session` as `qry_class`, be set for `db.Query`, be used for `db.relationship` and `db.backref`. Essentially everywhere `BaseQuery` is used.\r\n\r\nThanks to the contributions and discussion from @justanr, @davidism & @RonnyPfannschmidt."},"comment":{"url":"https://api.github.com/repos/mitsuhiko/flask-sqlalchemy/issues/comments/161937817","html_url":"https://github.com/mitsuhiko/flask-sqlalchemy/issues/319#issuecomment-161937817","issue_url":"https://api.github.com/repos/mitsuhiko/flask-sqlalchemy/issues/319","id":161937817,"user":{"login":"immunda","id":524365,"avatar_url":"https://avatars.githubusercontent.com/u/524365?v=3","gravatar_id":"","url":"https://api.github.com/users/immunda","html_url":"https://github.com/immunda","followers_url":"https://api.github.com/users/immunda/followers","following_url":"https://api.github.com/users/immunda/following{/other_user}","gists_url":"https://api.github.com/users/immunda/gists{/gist_id}","starred_url":"https://api.github.com/users/immunda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immunda/subscriptions","organizations_url":"https://api.github.com/users/immunda/orgs","repos_url":"https://api.github.com/users/immunda/repos","events_url":"https://api.github.com/users/immunda/events{/privacy}","received_events_url":"https://api.github.com/users/immunda/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T11:00:25Z","updated_at":"2015-12-04T11:00:25Z","body":"Resolved in #328"}}