Statement class
A single DML statement.
Constructors
- Statement()
- Statement.fromJson(Map _json)
Properties
-
params
↔ Map<
String, Object> -
The DML string can contain parameter placeholders. A parameter
placeholder consists of
'@'
followed by the parameter name. Parameter names consist of any combination of letters, numbers, and underscores. [...]read / write -
paramTypes
↔ Map<
String, Type> -
It is not always possible for Cloud Spanner to infer the right SQL type
from a JSON value. For example, values of type
BYTES
and values of typeSTRING
both appear in params as JSON strings. [...]read / write - sql ↔ String
-
Required. The DML string.
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
toJson(
) → Map< String, Object> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited