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

Method constructor

packages/db/src/query/ir.ts:107–109  ·  view source on GitHub ↗
(public sources: Array<CollectionRef | QueryRef>)

Source from the content-addressed store, hash-verified

105export class UnionFrom extends BaseExpression {
106 public type = `unionFrom` as const
107 constructor(public sources: Array<CollectionRef | QueryRef>) {
108 super()
109 }
110
111 get alias(): string {
112 return this.sources[0]?.alias ?? ``

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected