ModelReflectionMetadata

source

Reflection metadata for an SDL model type.

Properties

classConstructor: Functionsource

inherited from ReflectionMetadata.classConstructor

classPrototype: null | objectsource

inherited from ReflectionMetadata.classPrototype

The prototype used to instantiate the parsed structure if no constructor is available.

comment: stringsource

excludeFromDatabase: booleansource

excludeFromSnapshot: booleansource

fields: Map<string | number | symbol, Field<Type>>source

inherited from ReflectionMetadata.fields

The domain of fields.

model: ModelTypesource

name: stringsource

inherited from ReflectionMetadata.name

The name of this struct type.

primaryKeyField: string | number | symbolsource

primaryKeyType: Typesource

schema: Schemasource

section: stringsource