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

Method constructor

packages/db/src/errors.ts:462–469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

460
461export class FnSelectWithGroupByError extends QueryCompilationError {
462 constructor() {
463 super(
464 `fn.select() cannot be used with groupBy(). ` +
465 `groupBy requires the compiler to statically analyze aggregate functions (count, sum, max, etc.) in the SELECT clause, ` +
466 `which is not possible with fn.select() since it is an opaque function. ` +
467 `Use .select() instead of .fn.select() when combining with groupBy().`,
468 )
469 }
470}
471
472export class UnsupportedRootScalarSelectError extends QueryCompilationError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected