Skip to content

Column name disambiguation in closure table queries#252

Merged
franzose merged 1 commit into
franzose:6.xfrom
Djuuu:column-name-disambiguation
Feb 1, 2026
Merged

Column name disambiguation in closure table queries#252
franzose merged 1 commit into
franzose:6.xfrom
Djuuu:column-name-disambiguation

Conversation

@Djuuu
Copy link
Copy Markdown
Contributor

@Djuuu Djuuu commented Sep 13, 2021

The buildAncestorsQuery() and buildDescendantsQuery() methods don't use qualified column names.

This could lead to "ambiguous column name" errors when the entity table has columns named ancestor, descendants or depth.

Using qualified column names prevents this.

@Djuuu Djuuu force-pushed the column-name-disambiguation branch from eb1e284 to 536432a Compare September 13, 2021 14:50
@franzose franzose changed the base branch from master to 6.x February 1, 2026 10:33
@franzose franzose merged commit 07b7b26 into franzose:6.x Feb 1, 2026
franzose added a commit that referenced this pull request Feb 1, 2026
Co-authored-by: Julien Tardot <julien.tardot@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants