typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
14 lines (13 loc) • 361 B
TypeScript
/**
* Defines a special criteria to find specific entities.
*/
export interface FindTreeOptions {
/**
* Indicates what relations of entity should be loaded (simplified left join form).
*/
relations?: string[];
/**
* When loading a tree from a TreeRepository, limits the depth of the descendents loaded
*/
depth?: number;
}