WhereBody class abstract
Abstract base class for WHERE clause bodies with specific combination logic.
This class provides a foundation for building complex WHERE conditions that can be combined with either AND or OR logic.
Deprecated - Consider using the more specific Where subclasses instead.
- Implemented types
Constructors
-
WhereBody.new(List<
SQL> conditions, {WhereType type = WhereType.AND}) - Creates a WHERE body with the specified conditions and combination type.
Properties
-
conditions
↔ List<
SQL> -
List of conditions to combine
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ WhereType
-
The type of logic to use when combining conditions
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSQL(
) → String -
Generates SQL by combining conditions with the specified logic.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited