use dbSelect for paging
generic JSONSchema instances for DBKey and DBRef