IWrappedEntity <Entity>
Index
Methods
assign
Parameters
data: Data & IsSubset<EntityData<Naked, Convert>, Data>
optionaloptions: AssignOptions<Convert>
Returns MergeSelected<Entity, Naked, keyof Data & string>
getSchema
Returns undefined | string
init
Parameters
optionaloptions: FindOneOptions<Entity, Hint, Fields, Exclude>
Returns Promise<null | Loaded<Entity, Hint, Fields, Exclude>>
isInitialized
Returns boolean
isManaged
Returns boolean
isTouched
Returns boolean
populate
Parameters
populate: false | AutoPath<Entity, Hint, never, 9>[]
optionaloptions: EntityLoaderOptions<Entity>
Returns Promise<Loaded<Entity, Hint, *, never>>
populated
Parameters
optionalpopulated: boolean
Returns void
serialize
Parameters
optionaloptions: SerializeOptions<Naked, Hint, Exclude>
Returns EntityDTO<Loaded<Naked, Hint, *, never>, never>
setSchema
Parameters
optionalschema: string
Returns void
setSerializationContext
Parameters
options: LoadHint<Entity, Hint, Fields, Exclude>
Returns void
toJSON
Parameters
rest...args: any[]
Returns EntityDTO<Entity, never>
toObject
Returns EntityDTO<Entity, never>
toPOJO
Returns EntityDTO<Entity, never>
toReference
Returns Ref<Entity> & LoadedReference<Loaded<Entity, AddEager<Entity>, *, never>>