QueryDateNanoProperty<EntityT> class
This wraps QueryIntegerProperty for DateTime properties annotated with
@Property(type: PropertyType.dateNano)
to avoid having to manually convert
to nanoseconds (DateTime.microsecondsSinceEpoch * 1000
) when creating
query conditions.
- Inheritance
-
- Object
- QueryProperty<
EntityT, int> - QueryIntegerProperty<
EntityT> - QueryDateNanoProperty
Constructors
- QueryDateNanoProperty(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 nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
equals(
int p, {String? alias}) → Condition< EntityT> -
inherited
-
equalsDate(
DateTime value, {String? alias}) → Condition< EntityT> -
Like equals, but first converts to nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
greaterOrEqual(
int p, {String? alias}) → Condition< EntityT> -
inherited
-
greaterOrEqualDate(
DateTime value, {String? alias}) → Condition< EntityT> -
Like greaterOrEqual, but first converts to nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
greaterThan(
int p, {String? alias}) → Condition< EntityT> -
inherited
-
greaterThanDate(
DateTime value, {String? alias}) → Condition< EntityT> -
Like greaterThan, but first converts to nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
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 nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
lessThan(
int p, {String? alias}) → Condition< EntityT> -
inherited
-
lessThanDate(
DateTime value, {String? alias}) → Condition< EntityT> -
Like lessThan, but first converts to nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
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 nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
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 nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
oneOf(
List< int> list, {String? alias}) → Condition<EntityT> -
inherited
-
oneOfDate(
List< DateTime> values, {String? alias}) → Condition<EntityT> -
Like oneOf, but first converts to nanoseconds
(DateTime.microsecondsSinceEpoch
* 1000
). -
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