MCPcopy Create free account
hub / github.com/TanStack/query / meta

Method meta

packages/query-core/src/query.ts:325–327  ·  view source on GitHub ↗

* The `meta` object passed in the query's options, if any. * @returns The query's `meta`, or `undefined` if none was set.

()

Source from the content-addressed store, hash-verified

323 * @returns The query's `meta`, or `undefined` if none was set.
324 */
325 get meta(): QueryMeta | undefined {
326 return this.options.meta
327 }
328
329 /**
330 * `'infinite'` for an infinite query, otherwise `undefined`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected