The query to run. Must be a non-mutating query.
Optional params: UseQueryParams<U>Additional parameters to configure how the query is run.
const { items } = useStoreObserver(
'select * from tasks where _id = :id limit 10', {
queryArguments: { id: '123' },
}
)
Continuously fetch results for the provided query.
Configures both a StoreObserver and a SyncSubscription to keep results up-to-date with local and remote changes.