typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
18 lines (17 loc) • 405 B
TypeScript
/**
* Arguments for Generated decorator class.
*/
export interface GeneratedMetadataArgs {
/**
* Class to which decorator is applied.
*/
readonly target: Function | string;
/**
* Class's property name to which decorator is applied.
*/
readonly propertyName: string;
/**
* Generation strategy.
*/
readonly strategy: "uuid" | "increment" | "rowid";
}