MCPcopy Create free account
hub / github.com/AppFlowy-IO/AppFlowy-Collab / ArrayMapUpdate

Class ArrayMapUpdate

collab/src/core/any_array.rs:78–81  ·  view source on GitHub ↗

A utility struct that provides functionality for performing updates on an array of maps. This struct encapsulates the transaction and reference to an array to provide methods for inserting, updating, and deleting `AnyMap` entries.

Source from the content-addressed store, hash-verified

76/// This struct encapsulates the transaction and reference to an array to provide methods
77/// for inserting, updating, and deleting `AnyMap` entries.
78pub struct ArrayMapUpdate<'a, 'b> {
79 array_ref: ArrayRef,
80 txn: &'a mut TransactionMut<'b>,
81}
82
83impl<'a, 'b> ArrayMapUpdate<'a, 'b> {
84 /// Creates a new `ArrayMapUpdate` with a given transaction and array reference.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected