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
Version: 4.6.1 Module: quill-sql Database: postgres
Generated query works
user is inserted as is without quotes which causes an error due to being a keyword in postgres
user
case class User(id: Int, username: String, email: String) case class Post(id: Int, title: String, content: String, userId: Int) for { user <- query[User] if user.email == lift(email) post <- query[Post] if post.userId = user.id } yield post
Should produce a query with user quoted as "user" but leaves it unquoted.
"user"
Not using reserved keywords as var names (neither in fors, nor filters nor joins)
@getquill/maintainers
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version: 4.6.1
Module: quill-sql
Database: postgres
Expected behavior
Generated query works
Actual behavior
user
is inserted as is without quotes which causes an error due to being a keyword in postgresSteps to reproduce the behavior
Should produce a query with
user
quoted as"user"
but leaves it unquoted.Workaround
Not using reserved keywords as var names (neither in fors, nor filters nor joins)
@getquill/maintainers
The text was updated successfully, but these errors were encountered: