abstractHydrator
Hierarchy
- Hydrator
Implements
- IHydrator
Index
Constructors
Methods
Constructors
constructor
Parameters
metadata: MetadataStorage
platform: Platform
config: Configuration<IDatabaseDriver<Connection>, EntityManager<IDatabaseDriver<Connection>>>
Returns Hydrator
Methods
hydrate
Parameters
entity: T
meta: EntityMetadata<T>
data: EntityData<T>
factory: EntityFactory
type: full | reference
newEntity: boolean = false
convertCustomTypes: boolean = false
optionalschema: string
Returns void
hydrateReference
Parameters
entity: T
meta: EntityMetadata<T>
data: EntityData<T>
factory: EntityFactory
optionalconvertCustomTypes: boolean
optionalschema: string
Returns void
isRunning
Returns boolean