Skip to content

Conversation

kelyak
Copy link

@kelyak kelyak commented Sep 25, 2018

If joins are made between the table using the NodeTrait and itself, using conditions whereDescendantOf or whereAncestorOf would throw an Integrity Constraint Violation (ambiguous column name) error on columns _lft and/or _rgt.

…ndantOf with additional join(s)

If joins are made between the table using the NodeTrait and the table itself, using conditions whereDescendantOf or whereAncestorOf would throw an Integrity Constraint Violation error on columns _lft and/or _rgt.
@kelyak
Copy link
Author

kelyak commented Sep 25, 2018

Same pull request as #314 but with better branching on my side. I hope it won't bother you.

@lazychaser lazychaser merged commit 91601c3 into lazychaser:v4 Sep 30, 2018
@antonkomarev
Copy link
Contributor

antonkomarev commented Dec 27, 2018

This code possibly has an issue #334

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.

3 participants