RuntimeParameters class abstract
Base class for runtime parameters group to apply to the database.
Constructors
- RuntimeParameters.new()
-
Base constructor for runtime parameters group.
const
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.
no setter
- 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
isLocal
is true, options are set for the current transaction only and not globally. -
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.
-
buildStatements(
{required bool isLocal}) → Iterable< String> -
Returns a list with the SQL statements to set each runtime parameters.
If
isLocal
is true, options are set for the current transaction only. -
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