{"action":"created","issue":{"url":"https://api.github.com/repos/opendatakit/central-backend/issues/85","repository_url":"https://api.github.com/repos/opendatakit/central-backend","labels_url":"https://api.github.com/repos/opendatakit/central-backend/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/opendatakit/central-backend/issues/85/comments","events_url":"https://api.github.com/repos/opendatakit/central-backend/issues/85/events","html_url":"https://github.com/opendatakit/central-backend/issues/85","id":312150831,"node_id":"MDU6SXNzdWUzMTIxNTA4MzE=","number":85,"title":"OData: use database-driven paging where possible.","user":{"login":"clint-tseng","id":117762,"node_id":"MDQ6VXNlcjExNzc2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/117762?v=4","gravatar_id":"","url":"https://api.github.com/users/clint-tseng","html_url":"https://github.com/clint-tseng","followers_url":"https://api.github.com/users/clint-tseng/followers","following_url":"https://api.github.com/users/clint-tseng/following{/other_user}","gists_url":"https://api.github.com/users/clint-tseng/gists{/gist_id}","starred_url":"https://api.github.com/users/clint-tseng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clint-tseng/subscriptions","organizations_url":"https://api.github.com/users/clint-tseng/orgs","repos_url":"https://api.github.com/users/clint-tseng/repos","events_url":"https://api.github.com/users/clint-tseng/events{/privacy}","received_events_url":"https://api.github.com/users/clint-tseng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-06T23:51:12Z","updated_at":"2018-11-06T22:31:34Z","closed_at":null,"author_association":"MEMBER","body":"Right now for simplicity, we always stream all rows from the database, because if the user is requesting a subtable we can't know without processing the xml where to delimit our $top/limit and $skip/offset. So we have to manually count as we process each subrow.\r\n\r\nBut if the user _is_ requesting the toplevel Submissions table, we can definitely branch the logic and have the database do that windowing for us. It's just slightly beyond v1 scope to do so."},"comment":{"url":"https://api.github.com/repos/opendatakit/central-backend/issues/comments/436433372","html_url":"https://github.com/opendatakit/central-backend/issues/85#issuecomment-436433372","issue_url":"https://api.github.com/repos/opendatakit/central-backend/issues/85","id":436433372,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjQzMzM3Mg==","user":{"login":"clint-tseng","id":117762,"node_id":"MDQ6VXNlcjExNzc2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/117762?v=4","gravatar_id":"","url":"https://api.github.com/users/clint-tseng","html_url":"https://github.com/clint-tseng","followers_url":"https://api.github.com/users/clint-tseng/followers","following_url":"https://api.github.com/users/clint-tseng/following{/other_user}","gists_url":"https://api.github.com/users/clint-tseng/gists{/gist_id}","starred_url":"https://api.github.com/users/clint-tseng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clint-tseng/subscriptions","organizations_url":"https://api.github.com/users/clint-tseng/orgs","repos_url":"https://api.github.com/users/clint-tseng/repos","events_url":"https://api.github.com/users/clint-tseng/events{/privacy}","received_events_url":"https://api.github.com/users/clint-tseng/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T22:31:34Z","updated_at":"2018-11-06T22:31:34Z","author_association":"MEMBER","body":"done in #127."}}
{"actor":{"display_login":"clint-tseng"}}