Count entities with optional filtering.
Optionaloptions: CountOptions
Count options (equality and portable expression filters)
Matching entity count
Delete an entity by primary key.
Primary key of the entity to delete
true if an entity was deleted, false if not found
OptionaldeleteDelete only while the key and every equality precondition match. Optional permanently. BaseRepository rejects before I/O if the source lacks it.
Primary key
Non-empty string/number equality map on stored values
Whether the conditional delete applied
Check whether an entity with the given primary key exists.
Primary key value
true when the entity exists
Fetch entities with optional filtering, sorting, and pagination.
Optionaloptions: FindOptions
Find options (filter, sort, paginate)
Matching entities
Fetch the first entity matching the optional filter.
Optionaloptions: FindOptions
Find options; at most one matching entity is returned
The first matching entity, or null when none matches
Find a page of entities by cursor pagination.
Find options, optionally carrying a cursor position
The page of entities plus a nextCursor that is null when the page is the last
OptionalupdateUpdate only while the key and every equality precondition match. Optional permanently. BaseRepository rejects before I/O if the source lacks it.
Primary key
Non-empty string/number equality map on stored values
Non-empty update payload
Updated entity, or null for a missing key or predicate mismatch
Generic repository providing CRUD operations over an entity type.
Since
0.1.0