May 20, 2021 WeChat Mini Program Development Document
Support: Small program 2.7.4, cloud function 0.8.1, Web
The aggregation phase. Specify a positive integer, skip the corresponding number of documents, and output the remaining documents.
db.collection('users')
.aggregate()
.skip(5)
.end()
This code skips the first 5 documents found and outputs the remaining documents.