1 | import { NamingStrategyInterface } from "./NamingStrategyInterface";
|
2 | import { Table } from "../schema-builder/table/Table";
|
3 |
|
4 |
|
5 |
|
6 | export declare class DefaultNamingStrategy implements NamingStrategyInterface {
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | tableName(targetName: string, userSpecifiedName: string | undefined): string;
|
14 | |
15 |
|
16 |
|
17 |
|
18 |
|
19 | closureJunctionTableName(originalClosureTableName: string): string;
|
20 | columnName(propertyName: string, customName: string, embeddedPrefixes: string[]): string;
|
21 | relationName(propertyName: string): string;
|
22 | primaryKeyName(tableOrName: Table | string, columnNames: string[]): string;
|
23 | uniqueConstraintName(tableOrName: Table | string, columnNames: string[]): string;
|
24 | relationConstraintName(tableOrName: Table | string, columnNames: string[], where?: string): string;
|
25 | defaultConstraintName(tableOrName: Table | string, columnName: string): string;
|
26 | foreignKeyName(tableOrName: Table | string, columnNames: string[]): string;
|
27 | indexName(tableOrName: Table | string, columnNames: string[], where?: string): string;
|
28 | checkConstraintName(tableOrName: Table | string, expression: string): string;
|
29 | exclusionConstraintName(tableOrName: Table | string, expression: string): string;
|
30 | joinColumnName(relationName: string, referencedColumnName: string): string;
|
31 | joinTableName(firstTableName: string, secondTableName: string, firstPropertyName: string, secondPropertyName: string): string;
|
32 | joinTableColumnDuplicationPrefix(columnName: string, index: number): string;
|
33 | joinTableColumnName(tableName: string, propertyName: string, columnName?: string): string;
|
34 | joinTableInverseColumnName(tableName: string, propertyName: string, columnName?: string): string;
|
35 | |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 | prefixTableName(prefix: string, tableName: string): string;
|
42 | eagerJoinRelationAlias(alias: string, propertyPath: string): string;
|
43 | }
|