Skip to main content
Version: 5.2

ObjectHydrator

Hierarchy

Index

Constructors

constructor

Methods

hydrate

  • hydrate<T>(entity: T, meta: EntityMetadata<T>, data: EntityData<T>, factory: EntityFactory, type: full | returning | reference, newEntity?: boolean, convertCustomTypes?: boolean, schema?: string): void
  • Type parameters

    Parameters

    • entity: T
    • meta: EntityMetadata<T>
    • data: EntityData<T>
    • factory: EntityFactory
    • type: full | returning | reference
    • newEntity: boolean = false
    • convertCustomTypes: boolean = false
    • optionalschema: string

    Returns void

hydrateReference