Closed KeithGrant closed 9 months ago
inline def pi = quote(3.1415)
val area = quote {
(c: Circle) => {
val r2 = c.radius * c.radius
pi * r2
}
}
val areas = quote {
query[Circle].map(c => area(c))
}
Doc is here: https://zio.dev/zio-quill/writing-queries#introduction
Yep, that's where I got the example. Looks like 4.8 fixed it. Thanks!
Version: 4.7.0 Module: quill-jdbc-zio Database: MirrorSqlDialect)
Expected behavior
Actual behavior
Steps to reproduce the behavior
Workaround
add a second parameter to the case class
@getquill/maintainers