* Create a live query with incremental updates * @param query - The query to run * @param params - The parameters to pass to the query * @param callback - A callback to run when the query is updated * @returns A promise that resolves to an object with the initial results, * an unsubsc
(
query: string,
params: any[] | undefined | null,
key: string,
callback?: (results: Results<T>) => void,
)
| 84 | * an unsubscribe function, and a refresh function |
| 85 | */ |
| 86 | incrementalQuery<T = { [key: string]: any }>( |
| 87 | query: string, |
| 88 | params: any[] | undefined | null, |
| 89 | key: string, |
no outgoing calls