Single-entry read + read-merge-upsert helpers.
These are the primitives every protocol method composes with when it needs to fetch a row by id or mutate it through a read-modify-write cycle. They don't own any state — the collection name + id are passed through, and the resilient-retry wrapper is applied by the caller.
Single-entry read + read-merge-upsert helpers. These are the primitives every protocol method composes with when it needs to fetch a row by id or mutate it through a read-modify-write cycle. They don't own any state — the collection name + id are passed through, and the resilient-retry wrapper is applied by the caller.
(get-entry-by-id collection-name id)Fetch a single entry by ID from Milvus. Returns entry map or nil. Uses STRONG consistency to ensure read-after-write visibility.
Fetch a single entry by ID from Milvus. Returns entry map or nil. Uses STRONG consistency to ensure read-after-write visibility.
(get-entry-with-vector collection-name id)Read an update snapshot in one RPC. The stored vector stays outside the domain entry, so it cannot leak into update results or metadata.
Read an update snapshot in one RPC. The stored vector stays outside the domain entry, so it cannot leak into update results or metadata.
(update-entry-fields! collection-name id updates)Update an entry by reading, merging, and upserting.
Update an entry by reading, merging, and upserting.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |