QueryDateProperty<EntityT> class

This wraps QueryIntegerProperty for DateTime properties to avoid having to manually convert to DateTime.millisecondsSinceEpoch when creating query conditions.

Inheritance

Constructors

QueryDateProperty(ModelProperty model)

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

between(int p1, int p2, {String? alias}) Condition<EntityT>
Finds objects with property value between and including the first and second value.
inherited
betweenDate(DateTime value1, DateTime value2, {String? alias}) Condition<EntityT>
Like between, but first converts to DateTime.millisecondsSinceEpoch.
equals(int p, {String? alias}) Condition<EntityT>
inherited
equalsDate(DateTime value, {String? alias}) Condition<EntityT>
Like equals, but first converts to DateTime.millisecondsSinceEpoch.
greaterOrEqual(int p, {String? alias}) Condition<EntityT>
inherited
greaterOrEqualDate(DateTime value, {String? alias}) Condition<EntityT>
Like greaterOrEqual, but first converts to DateTime.millisecondsSinceEpoch.
greaterThan(int p, {String? alias}) Condition<EntityT>
inherited
greaterThanDate(DateTime value, {String? alias}) Condition<EntityT>
Like greaterThan, but first converts to DateTime.millisecondsSinceEpoch.
isNull({String? alias}) Condition<EntityT>
inherited
lessOrEqual(int p, {String? alias}) Condition<EntityT>
inherited
lessOrEqualDate(DateTime value, {String? alias}) Condition<EntityT>
Like lessOrEqual, but first converts to DateTime.millisecondsSinceEpoch.
lessThan(int p, {String? alias}) Condition<EntityT>
inherited
lessThanDate(DateTime value, {String? alias}) Condition<EntityT>
Like lessThan, but first converts to DateTime.millisecondsSinceEpoch.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEquals(int p, {String? alias}) Condition<EntityT>
inherited
notEqualsDate(DateTime value, {String? alias}) Condition<EntityT>
Like notEquals, but first converts to DateTime.millisecondsSinceEpoch.
notNull({String? alias}) Condition<EntityT>
inherited
notOneOf(List<int> list, {String? alias}) Condition<EntityT>
inherited
notOneOfDate(List<DateTime> values, {String? alias}) Condition<EntityT>
Like notOneOf, but first converts to DateTime.millisecondsSinceEpoch.
oneOf(List<int> list, {String? alias}) Condition<EntityT>
inherited
oneOfDate(List<DateTime> values, {String? alias}) Condition<EntityT>
Like oneOf, but first converts to DateTime.millisecondsSinceEpoch.
toString() String
A string representation of this object.
inherited

Operators

operator <(int p) Condition<EntityT>
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator >(int p) Condition<EntityT>
inherited