ListQueryDefBuilder class

Builder for list view query definitions.

Constructs queries for lists of entity references with pagination support.

Inheritance
Available extensions

Constructors

ListQueryDefBuilder(String entityName, String name, List<String> attrs, {bool subscribe = false, String startAfter = '', String endBefore = '', int limit = 0})
Creates a list query builder with attributes and pagination.

Properties

attrs List<String>
List of attribute names to include for each item.
final
endBefore String
Cursor for reverse pagination - end before this item key.
final
entityName String
final
hashCode int
The hash code for this object.
no setterinherited
limit int
Maximum number of items to return.
final
name String
Name of the view to query.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAfter String
Cursor for pagination - start after this item key.
final
subscribe bool
Whether to subscribe to real-time updates.
finalinherited

Methods

add(ViewQueryDefBuilder qb) → void
build() ViewQueryDef
Builds the specific ViewQueryDef implementation.
override
list(String entityName, String name, List<String> attrs, void fun(ListQueryDefBuilder qb), {String startAfter = '', String endBefore = '', int limit = 0}) → void

Available on ListQueryDefBuilder, provided by the ListQueryDefBuilderManual extension

Adds a list view query with nested builder configuration.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ref(String entityName, String name, List<String> attrs, void fun(RefQueryDefBuilder qb)) → void

Available on ListQueryDefBuilder, provided by the ListQueryDefBuilderManual extension

Adds a reference view query with nested builder configuration.
toString() String
A string representation of this object.
inherited
val(String name) → void

Available on ListQueryDefBuilder, provided by the ListQueryDefBuilderManual extension

Adds a value view query to the per-item query definition.

Operators

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