Skip to content

Commit

Permalink
#66 Add DDL Builder access method for getting column types (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewImm authored Nov 10, 2023
1 parent c03331e commit 68a32b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ddl/ddl-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ import { TruncateOptions } from './truncate';
export class DataDefinitionBuilder extends StatementBuilder {
protected columnTypes = ColumnType;

public getColumnTypes(): typeof ColumnType {
return <any>this.columnTypes;
}

// ------------------------------------------------------------------------
// Create Database
// ------------------------------------------------------------------------
Expand Down

0 comments on commit 68a32b5

Please sign in to comment.