SelectQuery<TModel extends Model> class
Constructors
-
SelectQuery(String table, Iterable<
String> columnsAllowed)
Properties
-
columnsAllowed
↔ Iterable<
String> -
List of all columns allowed to be selected.
getter/setter pair
-
columnsSelected
↔ List<
String> -
List of columns to be selected.
getter/setter pair
-
conditions
↔ List<
Condition> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table ↔ String
-
Name of the current table we are selecting from.
getter/setter pair
Methods
-
columns(
List< String> columns) → void -
execute(
) → Future< Result< TModel> > -
limit(
int limit) → dynamic -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offset(
int offset) → dynamic -
inherited
-
orderBy(
String orderBy, String? order) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
where(
String column, {dynamic equals, dynamic greaterThan, dynamic lessThan}) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited