typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
13 lines (12 loc) • 398 B
TypeScript
import { EntityTarget } from "../common/EntityTarget";
import { ForeignKeyOptions } from "../decorator/options/ForeignKeyOptions";
export interface EntitySchemaColumnForeignKeyOptions extends ForeignKeyOptions {
/**
* Indicates with which entity this relation is made.
*/
target: EntityTarget<any>;
/**
* Inverse side of the relation.
*/
inverseSide?: string;
}