pub fn write_document(
adapter: &dyn DatabaseOperations,
config: &DbBackendConfig,
schema: &AppSchema,
snapshot: &DocumentSnapshot,
value: &Value,
) -> Result<(), DatabaseError>Expand description
Commits one changed document atomically and rejects a stale snapshot.