Expand description
Procedures to create and manipulate documents. Procedures to create and manipulate documents.
Functions§
- create_
snapshot - Saves the document by creating a new snapshot and setting the current_snapshot to it.
- delete_
ref - Soft-deletes a document reference by setting
deleted_at. - get_
doc_ binary_ data - Gets the binary automerge data for a document ref.
- get_
doc_ id - Gets the Automerge document ID for the head snapshot of a ref.
- load_
snapshot - Set a live Automerge document to a different snapshot’s state.
- new_ref
- Creates a new document ref with initial content.
- ref_
deleted_ at - Gets the deleted_at timestamp for a document ref.
- restore_
ref - Restores a soft-deleted document reference.