DateTimeField class

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

Inheritance
  • Object
  • Field<DateTime>
  • DateTimeField

Constructors

DateTimeField(String name)

Properties

hashCode → int
The hash code for this object.
read-only, inherited
name → String
Name of the field
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
tableName → String
final, inherited

Methods

create(Create statement, { bool isNullable, String uniqueGroup }) → void
Adds the field to create statement
aliasAs(String tableAlias) Field<DateTime>
inherited
between(DateTime low, DateTime high) Between<DateTime>
Returns an "in between" condition [...]
inherited
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
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 non-existent method or property is accessed.
inherited
set(DateTime value) SetColumn<DateTime>
Returns a "set column" clause [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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