typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
11 lines (10 loc) • 335 B
TypeScript
/**
* Tree type.
* Specifies what table pattern will be used for the tree entity.
*/
import { ColumnMetadata } from "../ColumnMetadata";
export interface ClosureTreeOptions {
closureTableName?: string;
ancestorColumnName?: (column: ColumnMetadata) => string;
descendantColumnName?: (column: ColumnMetadata) => string;
}