ColumnType class

Maps to SQL data types.

Features all types from this list: http://www.tutorialspoint.com/sql/sql-data-types.htm

Constructors

ColumnType(String name, {bool hasLength = false, bool hasPrecision = false, bool hasScale = false, bool hasTimezone = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
hasLength bool
final
hasPrecision bool
final
hasScale bool
final
hasTimezone bool
final
name String
The name of this data type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

bigInt → const ColumnType
bigSerial → const ColumnType
binary → const ColumnType
bit → const ColumnType
boolean → const ColumnType
char → const ColumnType
cursor → const ColumnType
date → const ColumnType
dateTime → const ColumnType
decimal → const ColumnType
double → const ColumnType
float → const ColumnType
image → const ColumnType
int → const ColumnType
json → const ColumnType
jsonb → const ColumnType
money → const ColumnType
nChar → const ColumnType
nText → const ColumnType
numeric → const ColumnType
nVarChar → const ColumnType
nVarCharMax → const ColumnType
real → const ColumnType
serial → const ColumnType
smallDateTime → const ColumnType
smallInt → const ColumnType
smallMoney → const ColumnType
smallSerial → const ColumnType
sqlVariant → const ColumnType
table → const ColumnType
text → const ColumnType
time → const ColumnType
timeStamp → const ColumnType
timeStampWithTimeZone → const ColumnType
tinyInt → const ColumnType
uniqueIdentifier → const ColumnType
varBinary → const ColumnType
varBinaryMax → const ColumnType
varChar → const ColumnType
varCharMax → const ColumnType
xml → const ColumnType