QueryReflectionMetadata

source

Reflection metadata for an SDL model type.

Properties

classConstructor: Functionsource

inherited from ModelReflectionMetadata.classConstructor

classPrototype: null | objectsource

inherited from ModelReflectionMetadata.classPrototype

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

comment: stringsource

inherited from ModelReflectionMetadata.comment

excludeFromDatabase: booleansource

inherited from ModelReflectionMetadata.excludeFromDatabase

excludeFromSnapshot: booleansource

inherited from ModelReflectionMetadata.excludeFromSnapshot

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

inherited from ModelReflectionMetadata.fields

The domain of fields.

model: ModelTypesource

inherited from ModelReflectionMetadata.model

name: stringsource

inherited from ModelReflectionMetadata.name

The name of this struct type.

primaryKeyField: string | number | symbolsource

inherited from ModelReflectionMetadata.primaryKeyField

primaryKeyType: Typesource

inherited from ModelReflectionMetadata.primaryKeyType

schema: Schemasource

inherited from ModelReflectionMetadata.schema

section: stringsource

inherited from ModelReflectionMetadata.section

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

The domain of fields to surface to the user.