ucast
ucast copied to clipboard
Columns reference can be ambigous
Interpreter can translate a condition in a SQL Query with ambigous column names. This can happen when the condition is based on both a related table fields and the main table fields.
A solution could be to prefix all the fields in the where condition with the main table alias. What do you think about it?
There is alpha branch, I think it should be fixed there.
It has more changes than you can see in master. But they all relates to sql generation not to ORM integrations so very likely ORM parts should be adjusted
Yeah, I saw the alpha branch, I've made the last tests with that. This issue and #25 refer to the alpha
branch.
BTW: Thank you for your work on casl, it's really awesome! 😃