UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL, MongoDB databases.

16 lines (15 loc) 538 B
import { ObjectLiteral } from "../common/ObjectLiteral"; import { EntityMetadata } from "./EntityMetadata"; /** * Utils used to work with EntityMetadata objects. */ export declare class EntityMetadataUtils { /** * Creates a property paths for a given entity. */ static createPropertyPath(metadata: EntityMetadata, entity: ObjectLiteral, prefix?: string): string[]; /** * Creates a property paths for a given entity. */ static getPropertyPathValue(entity: ObjectLiteral, propertyPath: string): any; }