Driver.ts from typeorm/typeorm
// Source: https://github.com/typeorm/typeorm | License: MIT | Copyright 2015-2025 TypeORM. http://typeorm.github.io
// Provided via justclaw.it.com; keep this notice with the code.
import type { ObjectLiteral } from "../common/ObjectLiteral"
import type { BaseDataSourceOptions } from "../data-source/BaseDataSourceOptions"
import type { ColumnMetadata } from "../metadata/ColumnMetadata"
import type { EntityMetadata } from "../metadata/EntityMetadata"
import type { IndexMetadata } from "../metadata/IndexMetadata"
import type { OnDeleteType } from "../metadata/types/OnDeleteType"
import type { OnUpdateType } from "../metadata/types/OnUpdateType"
import type { QueryRunner } from "../query-runner/QueryRunner"
import type { TableIndexTypes } from "../schema-builder/options/TableIndexTypes"
impo
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key