typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
16 lines (15 loc) • 432 B
TypeScript
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>;
}