Returns a pagination wrapper for this query.
Optional
options: Partial<PaginationOptions>The pagination options. Defaults to { subscribe: true, pageSize: 100 }
.
Returns the results of the query based on the data that is currently available on the client. This method is useful for synchronously accessing data that has already been fetched by another query. The method will return an empty array if data has not yet been populated.
An array of query results.
Serializes the active query used by the emitter.
Returns a promise that resolves to the query results.
A promise that resolves to the query results.
Returns an observable that emits the query results and updates whenever the query results change unless
subscribe=false
is provided.
Important: Make sure to unsubscribe from the observable when you are done with it.
Optional
subscribe: booleanWhether to subscribe to changes to the query results. Defaults to true
.
An observable for the query results.
Interface for emitting query results in a reactive manner, supporting both synchronous and asynchronous access.