JsonQueryBuilder class

Builder for constructing JSON queries.

Constructors

JsonQueryBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

action(QueryAction action) JsonQueryBuilder
aggregation(Map<String, dynamic> agg) JsonQueryBuilder
Set aggregation functions for aggregate queries.
build() JsonQuery
computed(Map<String, ComputedField> fields) JsonQueryBuilder
Add computed fields (correlated subqueries) to the query.
data(Map<String, dynamic> data) JsonQueryBuilder
groupByFields(List<String> fields) JsonQueryBuilder
Set fields to group by for groupBy queries.
include(Map<String, dynamic> relations) JsonQueryBuilder
model(String name) JsonQueryBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderBy(Map<String, dynamic> order) JsonQueryBuilder
select(Map<String, dynamic> fields) JsonQueryBuilder
selectFields(List<String> fields) JsonQueryBuilder
Select specific fields by name.
skip(int count) JsonQueryBuilder
take(int count) JsonQueryBuilder
toString() String
A string representation of this object.
inherited
where(Map<String, dynamic> conditions) JsonQueryBuilder

Operators

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