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

Method constructor

packages/db/src/errors.ts:381–385  ·  view source on GitHub ↗
(alias: string)

Source from the content-addressed store, hash-verified

379
380export class InvalidSourceError extends QueryBuilderError {
381 constructor(alias: string) {
382 super(
383 `Invalid source for live query: The value provided for alias "${alias}" is not a Collection or subquery. Live queries only accept Collection instances or subqueries. Please ensure you're passing a valid Collection or QueryBuilder, not a plain array or other data type.`,
384 )
385 }
386}
387
388export type SourceClauseContext =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected