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
  • Object
  • Field<double>
  • DoubleField

Constructors

DoubleField(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: false, bool primary: false, String foreignTable, String foreignCol, String uniqueGroup }) → void
Adds the field to create statement
aliasAs(String tableAlias) Field<double>
inherited
between(double low, double high) Between<double>
Returns an "in between" condition [...]
inherited
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
iss(double value) Cond<double>
Returns an "IS" condition, i.e. 'where var IS null' [...]
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 non-existent method or property is accessed.
inherited
set(double value) SetColumn<double>
Returns a "set column" clause [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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