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

Method constructor

packages/db/src/errors.ts:446–452  ·  view source on GitHub ↗
(segment: string)

Source from the content-addressed store, hash-verified

444
445export class UnsafeAliasPathError extends QueryCompilationError {
446 constructor(segment: string) {
447 super(
448 `Unsafe alias path segment "${segment}" is not allowed in .select(). ` +
449 `Aliases must not contain "__proto__", "prototype", or "constructor".`,
450 )
451 this.name = `UnsafeAliasPathError`
452 }
453}
454
455export class DistinctRequiresSelectError extends QueryCompilationError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected