21 Matching Annotations
  1. May 2022
    1. An extension of the base DataModel which defines a Document. Documents are special in that they are persisted to the database and referenced by _id.

      Changed from V9:

      The abstract base class shared by both client and server-side which defines the model for a single document type.

      Create a new Document by providing an initial data object.

  2. Apr 2022
    1. Overrides: abstract.DataModel#_initialize Initialize the instance by copying data from the source object to instance attributes.

      Override of the DataModel is new in V10

      V9 description:

      Perform one-time initialization tasks which only occur when the Document is first constructed.

    2. :DataModel|null Overrides: abstract.DataModel#parent

      Changed in V10 from V9 :Document|null

      V9 description:

      An immutable reverse-reference to the parent Document to which this embedded Document belongs.

    3. :Class

      Changed from V9 implementation :function

      Possibly an oversight? The V9 doc description reads

      Return a reference to the implemented subclass of this base document type.

    4. filePathFields :Object:.<fields.FilePathField:> Overrides: abstract.DataModel#filePathFields A mapping of FilePathField instance which belong to this data model. Type: Object:.<fields.FilePathField:>

      New in V10

    5. _source :object Overrides: abstract.DataModel#_source The source data object for this DataModel instance. Once constructed, the source object is sealed such that no keys may be added nor removed. Type: object

      New in V10

    6. An extension of the base DataModel which defines a Document. Documents are special in that they are persisted to the database and referenced by _id.

      Changed from V9:

      The abstract base class shared by both client and server-side which defines the model for a single document type.

      Create a new Document by providing an initial data object.