loopback order by limit code example
Example 1: loopback order by limit
weapons.find({
order: 'audibleRange DESC',
limit: 3
});
Example 2: loopback find with limit
Cars.find({limit: 10, skip: 0}, function() { /* ... */ });
weapons.find({
order: 'audibleRange DESC',
limit: 3
});
Cars.find({limit: 10, skip: 0}, function() { /* ... */ });