Represents a CRDT Replicated Growable Array (RGA) that can be upserted as part of a document or assigned to a property during an update of a document.

Hierarchy

Constructors

Accessors

Constructors

  • Constructs a new RGA that can be used as part of a document's content.

    Parameters

    • Optional array: any[]

      The array to use as the RGA's representation.

    Returns RGA

Accessors

  • get value(): any[]
  • The array representation of the RGA.

    Returns any[]