REFERENCED_MODEL_FIELDS top-level constant

Set<FieldModel> const REFERENCED_MODEL_FIELDS

Implementation

const REFERENCED_MODEL_FIELDS = {
  Field(
    fieldPath: ['id'],
    fieldType: String,
    nullable: false,
    primaryKey: true,
    description:
        'The unique identifier for the document, serving as its primary key.',
  ),
  Field(
    fieldPath: ['ref'],
    fieldType: DataRefModel,
    nullable: false,
    primaryKey: true,
    description:
        "A reference to this model that indicates the document's location within the database.",
  ),
};