EqualsDate class

Creates a condition to match an exact date (ignoring time portion)

Example: WHERE DATE(date_column) = '2023-01-01'

Inheritance

Constructors

EqualsDate(DateTime value)
Creates a date equality condition

Properties

dialect ↔ SqlDialect?
The SQL dialect to use
getter/setter pairinherited
field ↔ String
The field name to apply the condition to
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
isNot ↔ bool
Flag to negate the condition with NOT operator
getter/setter pairinherited
paramStartIndex ↔ int
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ WhereMatcherType
The logical operator type (AND/OR) to use when combining with other conditions
getter/setter pairinherited
value → DateTime
The date to match
final

Methods

compose() → MatchResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDialect(SqlDialect? dialect) → void
inherited
setParamIndex(int index) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited