Skip to main content

Module writes

Module writes 

Source
Expand description

Document writes with shared text mutation admission.

Functions§

batch_insert
BatchInsert: insert N documents in a single transaction.
bulk_delete
BulkDelete dispatch target.
bulk_update
BulkUpdate: scan matching documents and apply field updates to all.
point_delete
PointDelete: remove a document by ID.
point_insert
PointInsert: insert-only, fail on duplicate PK (or skip if if_absent).
point_put
PointPut: unconditional overwrite (upsert semantics).
point_update
PointUpdate: read-modify-write with field-level changes.
truncate
Truncate: delete ALL documents in a collection, then the overlays they fed: the FTS index, the sparse-vector postings, the R-tree entries, and every vector bucket of the collection. Answers with the bare TRUNCATE tag, never a row count.
upsert
Upsert: insert or update. When on_conflict_updates is non-empty, applies those assignments on conflict instead of merging the new value.