D1Query class
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
params
↔ List<
Object> -
Params are the statement's bound values, in the order its
?placeholders appear — a string, a number, a boolean or null, whatever the column takes. Absent means the statement carries no placeholders; bind values here rather than interpolating them into the statement.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sql ↔ String?
-
SQL is the statement to run. Blank (or absent) is refused before anything reaches D1.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → D1Query? -
Returns a new D1Query instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< D1Query> -
mapFromJson(
dynamic json) → Map< String, D1Query> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< D1Query> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.