WIP DBQuery; support for chunking; 'infinite scroll' etc.