MapRuntimeParameters class
Runtime parameters that can be built from a map of options.
- Inheritance
-
- Object
- RuntimeParameters
- MapRuntimeParameters
Constructors
-
MapRuntimeParameters(Map<
String, dynamic> options) - Creates a new runtime parameters object from a map of options.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
options
↔ Map<
String, dynamic> -
The options that this runtime parameters group can set. The key is the
name of the option as it appears in the SQL statement, and the value is
the value to set it to. The value can also be a RuntimeParameters.
getter/setter pairoverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
{required bool isLocal}) → String -
Returns the SQL statement to set the runtime parameters. If
isLocalis true, options are set for the current transaction only and not globally.inherited -
buildCheckValues(
) → String -
Returns a SELECT statement to check current values of all options.
When running the query, parameters that were not yet set will return null.
inherited
-
buildStatements(
{required bool isLocal}) → Iterable< String> -
Returns a list with the SQL statements to set each runtime parameters.
If
isLocalis true, options are set for the current transaction only.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited