ObjectHydrator
Hierarchy
- Hydrator
- ObjectHydrator
Index
Constructors
Methods
Constructors
constructor
Parameters
metadata: MetadataStorage
platform: Platform
config: Configuration<IDatabaseDriver<Connection>, EntityManager<IDatabaseDriver<Connection>>>
Returns ObjectHydrator
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
convertCustomTypes: boolean = false
optionalschema: string
Returns void
inheritedisRunning
Returns boolean