Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Portable validation and ordering for atomic operator snapshot restoration.

Structs§

DatabaseSnapshot
A backend-independent operator artifact tied to its logical migration contract.
RestoreCount
An optional precondition checked against the transaction’s current snapshot.

Constants§

OPERATOR_LIMITS
Default operator bounds keep bulk work outside request-sized transactions.

Functions§

identity_filter 🔒
Resolves a complete primary identity without accepting undeclared fields.
restore_plan
A restore plan may execute only in the transaction that read its current records. It preserves numeric identities and checks references before any write.
validate_restore_records
Rejects malformed or oversized restore input before an adapter clones it or opens storage.
validated_order 🔒
Validates bounded records, uniqueness, and references in O((rows + links) log rows). Nullable links can cycle; non-null dependencies must admit an insertion order.
value_key 🔒
Normalizes exact decimal and timestamp keys before matching logical references.