I
I
Imbolc2013-12-22 17:45:30
MongoDB
Imbolc, 2013-12-22 17:45:30

mongodb pagination

An alternative to the slow skip.limit are range queries. But what about when the selection is sorted by a field that takes only a few values ​​for the entire huge collection?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly F., 2014-08-13
@FuN_ViT

the only option is an additional sort (just like for SQL).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question