Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

getLiveQueryKey.md

24 lines567 Bytes

function getLiveQueryKey(input): LiveQueryKey | undefined;

Defined in: packages/db/src/live-query-adapter.ts:51

The queryKey of a config-object query input, if it supplies one. An empty key is absent, as it is for getLiveQueryHash, so a hook and a DbClient preload agree on the query's identity.

Parameters

input

unknown

Returns

LiveQueryKey | undefined