Answers for "this.query.limit mongoose"

2

mongoose limit results

const results = await Model.find({}, '', {
   sort: {
      score: -1
   },
   limit: 10
})
Posted by: Guest on February-06-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language