SQLColumnDefinition class

Definition of a column in an SQL table

Annotations

Constructors

SQLColumnDefinition({required String name, required bool optional, required SQLDataType type, required bool nullable, required bool autoIncrement, required String? defaultValueExpression})
const

Properties

autoIncrement bool
Flag indicating that this column auto-increments
final
defaultValueExpression String?
If the column has a default SQL defined value, this holds the expression that creates it
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the column
final
nullable bool
Flag indicating if this is a nullable column
final
optional bool
Marker indicating that the column is defined with a default value
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type SQLDataType
The underlying raw data type
final

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