Function: getEntityName()
getEntityName(
clazz):string|undefined
Defined in: service-core/src/decorators/PersistenceDecorators.ts:298
Returns the explicit entity name declared via @Entity(name) on the given class or the nearest ancestor that
declares one, otherwise undefined.
Parameters
clazz
any
The model class to retrieve the entity name for.
Returns
string | undefined