Collections
Node.js - collection.query.limit()
Limit the number of results returned by a query.
import { collection } from '@nitric/sdk';
const profiles = collection('profiles');
const profileQuery = profiles.query().limit(10);
Parameters
limit required number
The limit to apply to the query