Browse documentation

QueryKey

Type. Serializable query cache identity.

Table of contents

Category

Type

Type import

ts
import type { QueryKey } from "valyrian.js/query";

Public signature

ts
type QueryKey = Array<string | number | boolean | Record<string, unknown>>;

Type usage

QueryKey is the serializable array identity used for cache matching and prefix invalidation.