UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

17 lines (16 loc) 617 B
import { EntityMetadata } from "../metadata/EntityMetadata"; import type { DataSource } from "../data-source/DataSource"; /** * Creates EntityMetadata for junction tables of the closure entities. * Closure junction tables are tables generated by closure entities. */ export declare class ClosureJunctionEntityMetadataBuilder { private dataSource; constructor(dataSource: DataSource); /** * Builds EntityMetadata for the closure junction of the given closure entity. * * @param parentClosureEntityMetadata */ build(parentClosureEntityMetadata: EntityMetadata): EntityMetadata; }