L
L
Lorem Ipsum2021-10-24 17:21:27
Mongoose
Lorem Ipsum, 2021-10-24 17:21:27

What is the equivalent of SQL LIMIT from_which_record, number_of_records in mongoose?

.limit() in mongoose takes only one argument.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-10-24
@vabka

You need to use two separate functions:.skip(10).limit(10)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question