MysqlColumnResponse class
MySQL Column.
Constructors
-
MysqlColumnResponse({required Input<
String> collation, required Input<String> column, required Input<String> dataType, required Input<int> length, required Input<bool> nullable, required Input<int> ordinalPosition, required Input<int> precision, required Input<bool> primaryKey, required Input<int> scale}) -
Creates a new MysqlColumnResponse.
collationColumn collation.columnColumn name.dataTypeThe MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.htmllengthColumn length.nullableWhether or not the column can accept a null value.ordinalPositionThe ordinal position of the column in the table.precisionColumn precision.primaryKeyWhether or not the column represents a primary key.scaleColumn scale.const -
MysqlColumnResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
collation
→ Input<
String> -
Column collation.
final
-
column
→ Input<
String> -
Column name.
final
-
dataType
→ Input<
String> -
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
length
→ Input<
int> -
Column length.
final
-
nullable
→ Input<
bool> -
Whether or not the column can accept a null value.
final
-
ordinalPosition
→ Input<
int> -
The ordinal position of the column in the table.
final
-
precision
→ Input<
int> -
Column precision.
final
-
primaryKey
→ Input<
bool> -
Whether or not the column represents a primary key.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scale
→ Input<
int> -
Column scale.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited