typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
27 lines (26 loc) • 644 B
TypeScript
/**
* Arguments for JoinColumnMetadata class.
*/
export interface JoinColumnMetadataArgs {
/**
* Class to which this column is applied.
*/
target: Function | string;
/**
* Class's property name to which this column is applied.
*/
propertyName: string;
/**
* Name of the column.
*/
name?: string;
/**
* Name of the column in the entity to which this column is referenced.
* This is column property name, not a column database name.
*/
referencedColumnName?: string;
/**
* Name of the foreign key constraint.
*/
foreignKeyConstraintName?: string;
}