ColumnDef class

Constructors

ColumnDef({required Ident name, required DataType dataType, ObjectName? collation, required List<ColumnOptionDef> options})
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.ColumnDef.html
const
ColumnDef.fromJson(Object? json_)
Returns a new instance from a JSON value. May throw if the value does not have the expected structure.
factory

Properties

collation ObjectName?
final
dataType DataType
final
hashCode int
The hash code for this object.
no setteroverride
name Ident
final
options List<ColumnOptionDef>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Ident? name, DataType? dataType, Option<ObjectName>? collation, List<ColumnOptionDef>? options}) ColumnDef
Returns a new instance by overriding the values passed as arguments
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Returns a JSON representation of this.
toString() String
A string representation of this object.
override
toWasm() List<Object?>
Returns this as a WASM canonical abi value.

Operators

operator ==(Object other) bool
The equality operator.
override