Query class final

Constructors

Query.new()
Query.delete({required String table, required Operation operation})
factory
Query.insert({required String table, required Map<String, dynamic> columns})
factory
Query.select({required String table, required List<String> columns, Operation? operation, List<Join> joins = const [], int offset = 0, int? limit})
factory
Query.update({required String table, required Map<String, dynamic> columns, required Operation operation})
factory

Properties

columns List<String>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
joins List<Join>?
getter/setter pair
operation Operation?
getter/setter pair
queryType QueryType?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table String?
getter/setter pair
values List?
getter/setter pair

Methods

copy() Query
copyWithCondition(Operation operation) Query
count() String
limit(int limit) Query
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset(int offset) Query
orderBy(String field) Query
toString() String
A string representation of this object.
override

Operators

operator &(Query query) Query
operator ==(Object other) bool
The equality operator.
inherited
operator |(Query query) Query
operator ~() Query