db retrieval flags, not None