1 |
|
2 |
|
3 |
|
4 | import { IDatabaseColumn, IDatabaseSchema } from "./mysql-database-definition";
|
5 | export declare abstract class SchemaOperator {
|
6 | protected definition: IDatabaseSchema;
|
7 | |
8 |
|
9 |
|
10 | protected removePrimaryKeys<T>(tableName: string, data: T): T;
|
11 | protected retainPrimaryKeys<T>(tableName: string, data: T): T;
|
12 | protected getPkCols(tableName: string): IDatabaseColumn[];
|
13 | |
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | protected stripNoneBelonging<T>(tableName: string, data: T): T;
|
20 | |
21 |
|
22 |
|
23 |
|
24 | protected getPrimaryKeyNames(tableName: string): string[];
|
25 | }
|