DoubleField class

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

Example:

final score = DoubleField('age');
var value = await Find()
        .from('user')
        .where(score > 90.0)  // Simplifies query expressions
        .exec(adapter).one();
Inheritance

Constructors

DoubleField(String name)

Properties

hashCode int
The hash code for this object.
no setterinherited
isNotNull Cond<double>
Returns an "IS NOT" condition, i.e. 'where var IS NOT null'
no setterinherited
isNull Cond<double>
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<double>
inherited
between(double low, double high) Between<double>
Returns an "in between" condition
inherited
create(Create statement, {bool isNullable = false, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) → void
Adds the field to create statement
eq(double value) Cond<double>
Returns an "is equal to" condition
inherited
eqF(String name, {String? table}) CondCol<double>
Returns an "is equal to" condition
inherited
eqField(Field<double> rhs) CondCol<double>
Returns an "is equal to" condition
inherited
gt(double value) Cond<double>
Returns a "greater than" condition
inherited
gtEq(double value) Cond<double>
Returns a "greater than equal to" condition
inherited
gtEqF(String name, {String? table}) CondCol<double>
Returns a "greater than equal to" condition
inherited
gtEqField(Field<double> rhs) CondCol<double>
Returns a "greater than equal to" condition
inherited
gtF(String name, {String? table}) CondCol<double>
Returns a "greater than" condition
inherited
gtField(Field<double> rhs) CondCol<double>
Returns a "greater than" condition
inherited
inBetweenFields(Field<double> low, Field<double> high) InBetweenCol<double>
Returns an "in between" condition
inherited
isIn(Set<double> value) InOperation<double>
Returns an "in" condition
inherited
lt(double value) Cond<double>
Returns a "less than" condition
inherited
ltEq(double value) Cond<double>
Returns a "less than equal to" condition
inherited
ltEqF(String name, {String? table}) CondCol<double>
Returns a "less than equal to" condition
inherited
ltEqField(Field<double> rhs) CondCol<double>
Returns a "less than equal to" condition
inherited
ltF(String name, {String? table}) CondCol<double>
Returns a "less than" condition
inherited
ltField(Field<double> rhs) CondCol<double>
Returns a "less than" condition
inherited
ne(double value) Cond<double>
Returns a "not equal to" condition
inherited
neF(String name, {String? table}) CondCol<double>
Returns a "not equal to" condition
inherited
neField(Field<double> rhs) CondCol<double>
Returns a "not equal to" condition
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(double? value) SetColumn<double>
Returns a "set column" clause
inherited
setNullable(double? value) SetColumn<double?>
inherited
toString() String
A string representation of this object.
inherited

Operators

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