You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…join statement (#89)
* BaseFragmentBuilder now quotes table and col names for joins
* Refactored libsq.engine so that the SQL generated from SLQ input can be tested
* Deleted dead code; additional comments
@mouchar As mentioned on one of the PRs, this has been fixed and released in sq v0.15.2. Would you mind verifying that the new release addresses the issue, and if so, I'll close this issue out. Again, thanks.
When joining two tables by columns with different names, generated SQL lacks double quotes around table and column specifiers:
E.g.
Joining by the common column name works fine:
Double quotes are necessary if you have to operate on such an unfortunate schema that uses reserved keywords as table names (like
user
in this case).The text was updated successfully, but these errors were encountered: