DatabaseSource: allow limit and offset to be set separately