DateTimeField class

DateTimeField is a convenience DSL used to construct queries in a concise and understandable way.

Inheritance

Constructors

DateTimeField(String name)

Properties

hashCode int
The hash code for this object.
no setterinherited
isNotNull Cond<DateTime>
Returns an "IS NOT" condition, i.e. 'where var IS NOT null'
no setterinherited
isNull Cond<DateTime>
Returns an "IS" condition, i.e. 'where var IS null'
no setterinherited
name String
Name of the field
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String?
finalinherited

Methods

aliasAs(String tableAlias) Field<DateTime>
inherited
between(DateTime low, DateTime high) Between<DateTime>
Returns an "in between" condition
inherited
create(Create statement, {bool isNullable = false, String? uniqueGroup}) → void
Adds the field to create statement
eq(DateTime value) Cond<DateTime>
Returns an "is equal to" condition
inherited
eqF(String name, {String? table}) CondCol<DateTime>
Returns an "is equal to" condition
inherited
eqField(Field<DateTime> rhs) CondCol<DateTime>
Returns an "is equal to" condition
inherited
gt(DateTime value) Cond<DateTime>
Returns a "greater than" condition
inherited
gtEq(DateTime value) Cond<DateTime>
Returns a "greater than equal to" condition
inherited
gtEqF(String name, {String? table}) CondCol<DateTime>
Returns a "greater than equal to" condition
inherited
gtEqField(Field<DateTime> rhs) CondCol<DateTime>
Returns a "greater than equal to" condition
inherited
gtF(String name, {String? table}) CondCol<DateTime>
Returns a "greater than" condition
inherited
gtField(Field<DateTime> rhs) CondCol<DateTime>
Returns a "greater than" condition
inherited
inBetweenFields(Field<DateTime> low, Field<DateTime> high) InBetweenCol<DateTime>
Returns an "in between" condition
inherited
isIn(Set<DateTime> value) InOperation<DateTime>
Returns an "in" condition
inherited
lt(DateTime value) Cond<DateTime>
Returns a "less than" condition
inherited
ltEq(DateTime value) Cond<DateTime>
Returns a "less than equal to" condition
inherited
ltEqF(String name, {String? table}) CondCol<DateTime>
Returns a "less than equal to" condition
inherited
ltEqField(Field<DateTime> rhs) CondCol<DateTime>
Returns a "less than equal to" condition
inherited
ltF(String name, {String? table}) CondCol<DateTime>
Returns a "less than" condition
inherited
ltField(Field<DateTime> rhs) CondCol<DateTime>
Returns a "less than" condition
inherited
ne(DateTime value) Cond<DateTime>
Returns a "not equal to" condition
inherited
neF(String name, {String? table}) CondCol<DateTime>
Returns a "not equal to" condition
inherited
neField(Field<DateTime> rhs) CondCol<DateTime>
Returns a "not equal to" condition
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(DateTime? value) SetColumn<DateTime>
Returns a "set column" clause
inherited
setNullable(DateTime? value) SetColumn<DateTime?>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator <(DateTime other) Cond<DateTime>
inherited
operator <=(DateTime other) Cond<DateTime>
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator >(DateTime other) Cond<DateTime>
inherited
operator >=(DateTime other) Cond<DateTime>
inherited