integer
)Description | Accepted Data Types | Required ? | |
---|---|---|---|
1 | Number to Return | int |
Yes |
var myQuery = User.find();
myQuery.limit(12);
myQuery.exec(function callBack(err,results){
console.log(results)
});
The .find() method returns a chainable object if you don't supply a callback. This method can be chained to .find() to further filter your results.