DefineTableRequest class final
define_table: creates schema, or adds and removes indexes of an
existing table (new indexes are built over its rows). Answers whether
anything changed.
- Inheritance
-
- Object
- ProtocolRequest<
bool> - DefineTableRequest
Constructors
- DefineTableRequest(TableSchema schema)
-
Defines
schema.const
Properties
-
fields
→ Map<
String, Object?> -
The fields of the request besides
vandop.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- op → String
-
The
opof the request.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → TableSchema
-
The definition.
final
Methods
-
decodeOutput(
Object? payload) → Result< bool, DbError> -
The output encoded in an
okpayload of this request.override -
encodeOutput(
bool output) → Map< String, Object?> -
The
okpayload ofoutput, for engines written in Dart.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
The protocol form:
{"v": 1, "op": ..., ...fields}.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited