Operand<T> class sealed

A typed operand accepted by SQL comparison expressions.

Pass an Expr directly to compare SQL expressions. Wrap a Dart value with Operand.value, or contextual .value(...), to bind it using the left-hand expression's codec. Constructing an operand performs no encoding or I/O. Expression operands compare SQL storage values without either codec's Dart encoder or decoder. Ensure their storage representations and collations are compatible, especially when distinct custom codecs share one Dart type.

Implementers

Constructors

Operand.value(T value)
A Dart value to parameterize with the receiving expression's codec.
const
factory

Properties

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