Expand description
Portable records and data mutations.
Execute DataRequest through crate::DatabaseBackend::data. Optional
mutation counts and continuation values preserve backend observations.
Ordinary writes may have uncertain outcomes after native failures;
ReplacePartitionRequest has its own stronger atomic contract.
Structs§
- Count
Request - Request to count rows matching an optional filter.
- Data
Record - Portable record payload used for inserts, updates, and query responses.
- Delete
Request - Request to delete rows that match a filter.
- Insert
Request - Request to insert records.
- Mutation
Result - Portable mutation counts.
- Page
Token - Opaque continuation token.
- Records
Page - Page of records returned by lookup or scan flows.
- Replace
Partition Request - Atomically replaces all records selected by one bounded partition.
- Scan
Request - Request to scan a collection with optional filtering and pagination.
- Update
Assignment - Single assignment used by update-style mutations.
- Update
Request - Request to update rows that match a filter.
Enums§
- Comparison
Op - Comparison operator used in
FilterExpr::Compare. - Data
Request - Portable data request.
- Data
Response - Portable data response.
- Dense
Vector - Dense vector payload stored in a backend-supported numeric representation.
- Filter
Expr - Portable filter expression tree used across data and query requests.
- Projection
- Fields returned for a record.
- Record
Id - Logical record identifier preserved by implementations supporting logical IDs.
- Write
Mode - Behavior to apply when writing rows to an existing collection.