MetadataDiscovery
Index
Constructors
constructor
Parameters
metadata: MetadataStorage
platform: Platform
config: Configuration<IDatabaseDriver<Connection>, EntityManager<IDatabaseDriver<Connection>>>
Returns MetadataDiscovery
Methods
discover
Parameters
preferTsNode: boolean = true
Returns Promise<MetadataStorage>
discoverReferences
Parameters
refs: (Constructor<T> | EntitySchema<T, never>)[]
Returns EntityMetadata<T>[]
discoverSync
Parameters
preferTsNode: boolean = true
Returns MetadataStorage
processDiscoveredEntities
Parameters
discovered: EntityMetadata<any>[]
Returns EntityMetadata<any>[]
reset
Parameters
className: string
Returns void