MFieldVarBinary constructor
MFieldVarBinary({})
Creates a VARBINARY field.
length
specifies the maximum byte length (default: 255, max: 65535)
Implementation
MFieldVarBinary({
required super.name,
super.isPrimaryKey = false,
super.isAutoIncrement = false,
super.isNullable = false,
super.defaultValue = '',
super.comment,
super.validators = const [],
int length = 255,
}) : super(type: FieldTypes.VARBINARY) {
_options = '($length)';
}