UNPKG

typeorm

Version:

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

16 lines (15 loc) 432 B
import { SelectQueryBuilder } from "../query-builder/SelectQueryBuilder"; export interface EntitySchemaRelationIdOptions { /** * Name of relation. */ relationName: string; /** * Alias of the joined (destination) table. */ alias?: string; /** * Extra condition applied to "ON" section of join. */ queryBuilderFactory?: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>; }