get only 10 data using mongoose code example Example: mongoose return only a certain number of results const foundResults = await MySchema.find().limit(3);