length


lengthnumberRead-only

Returns the number of documents in the current results page.

The length is the number of documents in the current page. This may be different than the pageSize, which is defined by the limit() function.

You navigate through pages using the prev() and next() functions.

Was this helpful?
Yes
No