mirror of
https://github.com/TanStack/query.git
synced 2026-11-18 19:33:22 +00:00
512 B
512 B
| id | title |
|---|---|
| SetDataOptions | SetDataOptions |
Defined in: packages/query-core/src/types.ts:1655
Options for writing data into the cache, e.g. via queryClient.setQueryData().
updatedAt overrides the timestamp the data is recorded with, which is what staleness is measured from;
omit it to use the current time.
Properties
| Property | Type |
|---|---|
updatedAt? |
number |