dslColumnTypeName property
The column type from the dsl library. For instance, if a table has
declared an IntColumn
, the matching dsl column name would also be an
IntColumn
.
Implementation
@Deprecated('Use Column<innerColumnType()> instead')
String get dslColumnTypeName => const {
ColumnType.boolean: 'BoolColumn',
ColumnType.text: 'TextColumn',
ColumnType.integer: 'IntColumn',
ColumnType.bigInt: 'BigIntColumn',
ColumnType.datetime: 'DateTimeColumn',
ColumnType.blob: 'BlobColumn',
ColumnType.real: 'RealColumn',
}[type]!;