WebSqlWhere class
A simple WHERE clause parser. Handles:
col = ?/col = literalcol != ?/col <> ?col > ?/col >= ?/col < ?/col <= ?col LIKE 'pattern%'
Multiple predicates joined with AND
or OR are supported. Operator
precedence: AND binds tighter than
OR (matches SQL standard). Use
parentheses to override.
Properties
- bindCount → int
-
The number of
?placeholders in the WHERE clause.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singlePredicate → WebSqlPredicate?
-
Returns the single predicate iff
the WHERE clause is exactly one
predicate (no AND / OR combining).
Otherwise returns null. Used by the
WebQueryPlanner to detect
push-down candidates.
no setter
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
String clause) → WebSqlWhere?