UNPKG

typeorm

Version:

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

19 lines (18 loc) 409 B
/** * Database's table unique constraint options. */ export interface TableUniqueOptions { /** * Constraint name. */ name?: string; /** * Columns that contains this constraint. */ columnNames: string[]; /** * Set this foreign key constraint as "DEFERRABLE" e.g. check constraints at start * or at the end of a transaction */ deferrable?: string; }