usePowerSyncWatchedQuery()
function usePowerSyncWatchedQuery<T>(
sqlStatement,
sqlParameters,
options): WatchedQueryResult<T>
Type parameters
Type parameter | Value |
---|---|
T | any |
Parameters
Parameter | Type | Default value |
---|---|---|
sqlStatement | MaybeRef <string > | undefined |
sqlParameters | MaybeRef <any []> | [] |
options | Omit <SQLWatchOptions , "signal" > | {} |
Returns
WatchedQueryResult
<T
>
Deprecated
use useQuery instead.
A composable to access the results of a watched query.