Skip to main content

executeUnique

Find a single document by any field. Returns the latest version by timestamp.
TypeScript

Return Value

Returns T | null - the document if found, or null if not found.

execute (Find Many)

Find multiple documents with filters and options.
TypeScript

QueryResponse

count

Count documents matching a filter.
TypeScript

Examples

Find by ID

TypeScript

Find with Pagination

TypeScript

Select Specific Fields

TypeScript

Next Steps

Update

Update existing documents

Query Builder

Complex queries with operators