usePowerSyncQuery()
function usePowerSyncQuery<T>(sqlStatement, parameters?): T[]
Type parameters
Type parameter | Value |
---|---|
T | any |
Parameters
Parameter | Type |
---|---|
sqlStatement | string |
parameters ? | any [] |
Returns
T
[]
Deprecated
use useQuery instead.
A hook to access a single static query. For an updated result, use usePowerSyncWatchedQuery instead.