type property

FbFieldType type
final

The type of the field.

The type definition is simplified and is Dart-based rather than SQL-based. For example, all integer types are described as FbFieldType.ftInt, while all text types (CHAR as well as VARCHAR) are described as FbFieldType.ftString. The type is intended more for a programmer to know, which type of Dart objects can be passed to / returned from a particular field, than to examine the actual SQL definition of the field (for the latter see the fbType attribute). See FbFieldType for possible values and fbTypeMap for mappings between Firebird types and Dart types.

Implementation

final FbFieldType type;