QueryImpl<Result> class

Inheritance

Constructors

QueryImpl(String tableName)

Properties

database String?
getter/setter pairinherited
fieldSelections Set<String>
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
limit int?
no setterinherited
orderByProps Set<OrderBy>
latefinalinherited
queryDriver DriverContract
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statement String
no setteroverride
tableName String
finalinherited
whereClauses List<WhereClause<Result>>
latefinalinherited

Methods

all() Future<List<Result>>
override
delete(WhereClause<Result> where(Query<Result> query)) DeleteQuery
inherited
driver(DriverContract driver) Query<Result>
inherited
execute() Future<void>
override
get([dynamic id]) Future<Result?>
override
insert<PrimaryKey>(Map<String, dynamic> data) Future<PrimaryKey>
override
insertMany(List<Map<String, dynamic>> values) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderByAsc(String field) Query<Result>
override
orderByDesc(String field) Query<Result>
override
orWhere<Value>(String field, String condition, [Value? value]) → WhereClause<Result>
orWhereFunc(dynamic builder(Query<Result> query)) Query<Result>
take(int limit) Future<List<Result>>
override
toString() String
A string representation of this object.
inherited
update({required WhereClause<Result> where(Query<Result> query), required Map<String, dynamic> values}) UpdateQuery
inherited
where<Value>(String field, String condition, [Value? value]) → WhereClause<Result>
whereBetween<Value>(String field, List<Value> values) → WhereClause<Result>
whereEqual<Value>(String field, Value value) → WhereClause<Result>
whereFunc(dynamic builder(Query<Result> query)) Query<Result>
whereIn<Value>(String field, List<Value> values) → WhereClause<Result>
whereLike<Value>(String field, String pattern) → WhereClause<Result>
whereNotBetween<Value>(String field, List<Value> values) → WhereClause<Result>
whereNotEqual<Value>(String field, Value value) → WhereClause<Result>
whereNotIn<Value>(String field, List<Value> values) → WhereClause<Result>
whereNotLike<Value>(String field, String pattern) → WhereClause<Result>
whereNotNull(String field) → WhereClause<Result>
whereNull(String field) → WhereClause<Result>

Operators

operator ==(Object other) bool
The equality operator.
inherited