MCPcopy Index your code
hub / github.com/TanStack/db / removeRedundantJoinFromClause

Function removeRedundantJoinFromClause

packages/db/src/query/optimizer.ts:504–508  ·  view source on GitHub ↗
(
  from: CollectionRefClass | QueryRefClass,
)

Source from the content-addressed store, hash-verified

502}
503
504function removeRedundantJoinFromClause(
505 from: CollectionRefClass | QueryRefClass,
506): CollectionRefClass | QueryRefClass {
507 return removeRedundantFromClause(from) as CollectionRefClass | QueryRefClass
508}
509
510/**
511 * Determines if a subquery is redundant (adds no value).

Callers 1

Calls 1

Tested by

no test coverage detected