AbstractProtectedconstructorCreates a new repository instance.
The underlying data source for this entity.
ProtectedcoerceCount 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
Apply a delete only while the key and predicate match.
Primary key
Non-empty equality precondition
Whether the 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
Find the first entity that matches the supplied query options.
Optionaloptions: FindOptionsFind a page of entities by cursor pagination.
Refuses by name with UnsupportedQueryFeatureError when the
bound data source does not expose a findPage member — which is true for
every shipped adapter until the milestone that implements cursor paging
on that backend. Absence means "cannot page by cursor", never "there are
no more rows".
Find options, optionally carrying a cursor
The page of entities plus a nextCursor
ProtectedtoApply an update only while the key and predicate match.
Primary key
Non-empty equality precondition
Non-empty update payload
The updated entity, or null when not matched
Shared repository implementation that normalizes options and delegates data operations to a
DataSource.Subclassing is intentional here: adapter-specific repositories extend this class and provide their own
DataSourcewire-up.Since
0.1.0