May 20, 2021 WeChat Mini Program Development Document
Specifies the maximum number of query result sets
Support: small programs, cloud functions, web
Specifies the maximum number of query result sets
Limit defaults and maximums 20 on small terminals and 1000 on cloud functions
db.collection('todos').limit(10)
.get()
.then(console.log)
.catch(console.error)