Node.js - collection.query()
Begins a new query on a Collection.
import { collection } from '@nitric/sdk'const profiles = collection('profiles').for('reading')const profileQuery = profiles.query()
See also
- Adding filters: query().where()
- Limiting the results: query().limit()
- Streaming results: query().stream()
- Fetching results: query().fetch()
Last updated on Jan 14, 2025