| 2 | |
| 3 | |
| 4 | export interface DialectOptions { |
| 5 | name: string; |
| 6 | hasSchema: boolean; |
| 7 | |
| 8 | getForeignKeysQuery: (tableName: string, schemaName: string) => string; |
| 9 | remapForeignKeysRow?: (tableName: string, row: FKRow) => FKRelation; |
| 10 | countTriggerQuery: (tableName: string, schemaName: string) => string; |
| 11 | isForeignKey?: (record: any) => boolean; |
| 12 | isUnique?: (record: FKRow, records: FKRow[]) => boolean; |
| 13 | isPrimaryKey: (record: any) => boolean; |
| 14 | isSerialKey: (record: any) => boolean; |
| 15 | showTablesQuery?: (schemaName?: string) => string; |
| 16 | showViewsQuery: (schemaName?: string) => string; |
| 17 | showElementTypeQuery?: (tableName: string, schemaName?: string) => string; |
| 18 | showGeographyTypeQuery?: (tableName: string, schemaName?: string) => string; |
| 19 | showGeometryTypeQuery?: (tableName: string, schemaName?: string) => string; |
| 20 | showPrecisionQuery?: (tableName: string, schemaName?: string) => string; |
| 21 | } |
| 22 | |
| 23 | export interface FKRow { |
| 24 | table: string; |
nothing calls this directly
no outgoing calls
no test coverage detected