UNPKG

typeorm

Version:

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

19 lines (18 loc) 417 B
/** * Primary key from the database stored in this class. */ export declare class TablePrimaryKey { /** * Key name. */ name: string; /** * Column to which this primary key is bind. */ columnName: string; constructor(name: string, columnName: string); /** * Creates a new copy of this primary key with exactly same properties. */ clone(): TablePrimaryKey; }