StructuredQuery constructor
StructuredQuery({
- StructuredQuery_Projection? select,
- Iterable<
StructuredQuery_CollectionSelector> ? from, - StructuredQuery_Filter? where,
- Iterable<
StructuredQuery_Order> ? orderBy, - Int32Value? limit,
- int? offset,
- Cursor? startAt,
- Cursor? endAt,
Implementation
factory StructuredQuery({
StructuredQuery_Projection? select,
$core.Iterable<StructuredQuery_CollectionSelector>? from,
StructuredQuery_Filter? where,
$core.Iterable<StructuredQuery_Order>? orderBy,
$0.Int32Value? limit,
$core.int? offset,
Cursor? startAt,
Cursor? endAt,
}) {
final _result = create();
if (select != null) {
_result.select = select;
}
if (from != null) {
_result.from.addAll(from);
}
if (where != null) {
_result.where = where;
}
if (orderBy != null) {
_result.orderBy.addAll(orderBy);
}
if (limit != null) {
_result.limit = limit;
}
if (offset != null) {
_result.offset = offset;
}
if (startAt != null) {
_result.startAt = startAt;
}
if (endAt != null) {
_result.endAt = endAt;
}
return _result;
}