This template isn't a strict requirement to open issues, but please try to provide as much information as possible.
Version: 3.13.0
Module: quill-jdbcDatabase: sql server
Expected behavior
case class Document(filename: String)val documents = quote(querySchema[Document]("document"))run(documents.filter(_.filename like "A%"))// Generated sql should be: SELECT x6.filename FROM document x6 WHERE x6.filename like 'A%'
Actual behavior
Generated sql IS: SELECT x6.filename FROM document x6 WHERE 1 = x6.filename like 'A%'
This template isn't a strict requirement to open issues, but please try to provide as much information as possible.
Version: 3.13.0 Module:
quill-jdbc
Database:sql server
Expected behavior
case class Document(filename: String)
val documents = quote(querySchema[Document]("document"))
run(documents.filter(_.filename like "A%"))
// Generated sql should be: SELECT x6.filename FROM document x6 WHERE x6.filename like 'A%'
Actual behavior
Generated sql IS: SELECT x6.filename FROM document x6 WHERE 1 = x6.filename like 'A%'
@getquill/maintainers