Route conditions and orderBy clauses to per-bundle subtables
(`{base}__{bundle}`) when referenced field names are bundle-scoped,
deduping INNER JOINs across a query. Enforces the spec-mandated
ambiguity policy: fields that exist in multiple bundles throw
BundleAmbiguousFieldException unless the query contains a sibling
constraint (explicit bundle-key condition or single-bundle field)
that uniquely implies the bundle.
Schema-column fallback keeps EntityType-key queries (id, uuid, label)
working without requiring explicit core field registration; truly
unknown names throw UnknownFieldException.
Required DatabaseInterface::quoteIdentifier() so JOIN ON clauses
quote identifiers consistently with the FROM alias DBAL emits.
See docs/specs/bundle-scoped-fields.md §Query.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>