SqlField<TIn, TOut> constructor
const
SqlField<TIn, TOut> ({
- required String fieldName,
- SqlFieldType fieldType = SqlFieldType.text,
- bool isPrimaryKey = false,
- bool isAutoIncrement = false,
- String? defaultValueExpression,
- DataConverter<
TIn, TOut> ? fromRawData, - DataConverter<
TIn, TOut> ? toRawData,
Implementation
const SqlField({
required this.fieldName,
this.fieldType = SqlFieldType.text,
this.isPrimaryKey = false,
this.isAutoIncrement = false,
this.defaultValueExpression,
this.fromRawData,
this.toRawData,
});