handle offset & limit in indexing db mock