SqlCreateIndex class

Implemented types

Constructors

SqlCreateIndex({required ObjectName name, required ObjectName tableName, Ident? using, required List<OrderByExpr> columns, required bool unique, required bool ifNotExists})
const
SqlCreateIndex.fromJson(Object? json_)
Returns a new instance from a JSON value. May throw if the value does not have the expected structure.
factory

Properties

columns List<OrderByExpr>
final
hashCode int
The hash code for this object.
no setteroverride
ifNotExists bool
final
name ObjectName
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName ObjectName
final
unique bool
final
using Ident?
final

Methods

copyWith({ObjectName? name, ObjectName? tableName, Option<Ident>? using, List<OrderByExpr>? columns, bool? unique, bool? ifNotExists}) SqlCreateIndex
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.
override
toString() String
A string representation of this object.
override
toWasm() List<Object?>
Returns this as a WASM canonical abi value.
override

Operators

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