MCPcopy Create free account
hub / github.com/TanStack/db / constructor

Method constructor

packages/db/src/query/builder/index.ts:81–83  ·  view source on GitHub ↗
(query: Partial<QueryIR> = {})

Source from the content-addressed store, hash-verified

79 private readonly query: Partial<QueryIR> = {}
80
81 constructor(query: Partial<QueryIR> = {}) {
82 this.query = { ...query }
83 }
84
85 /**
86 * Creates a CollectionRef or QueryRef from a source object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected