We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sqlite3 does not accept SELECT * UNION (SELECT *)
SELECT * UNION (SELECT *)
the correct syntax should be SELECT * UNION SELECT *
SELECT * UNION SELECT *
the same happens to INTERSECT and EXCEPT
INTERSECT
EXCEPT
The text was updated successfully, but these errors were encountered:
I could not found where it add ( and ), if you point me there, I could create a patch @doug-martin
(
)
Sorry, something went wrong.
Take a look at https://github.com/doug-martin/goqu/blob/master/default_adapter.go#L1084
You will most likely need to override that method for the sqlite adapter similar to how the mysql adapter creates its own adapter.
aa40a98
No branches or pull requests
Sqlite3 does not accept
SELECT * UNION (SELECT *)
the correct syntax should be
SELECT * UNION SELECT *
the same happens to
INTERSECT
andEXCEPT
The text was updated successfully, but these errors were encountered: