BindVarIfThen class
Pair of variable name-value to bind they into query with condition. Sample:
Query(
[
LineIfThen( tag != null, 'LET tag=@tag'),
// ... list of other query lines (see Line(), LineIfThen(), LineIfThenElse() for details )
],
bindVars: [ BindVarIfThen( tag!=null, 'tag', tag ) ],
).toMap()
- Inheritance
-
- Object
- BindNameValuePair
- BindVarIfThen
Constructors
- BindVarIfThen(bool condition, String nameIfTrue, dynamic valueIfTrue)
Properties
-
bindNameValuePair
↔ Map<
String, dynamic> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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