Query: `contains` doesn't compiles
pandemorra opened this issue · comments
Alex Kulesh commented
Hi!
Have some issue with query, maybe there is solution or workaround?
Version: 4.6.1
Module: quill-jdbc-zio_2.13
Database: postgres
Expected behavior
All ok
Actual behavior
Query compilation failed. Malformed or unsupported construct: ?.contains(i.
id
).
Steps to reproduce the behavior
https://scastie.scala-lang.org/pandemorra/ePGcWPXpRx26G9gKXwzJhg/8
https://scastie.scala-lang.org/pandemorra/ePGcWPXpRx26G9gKXwzJhg/3
@getquill/maintainers
Jules Ivanic commented
@pandemorra you might wanna have a look at liftQuery
https://zio.dev/zio-quill/writing-queries/#lifted-queries
Alex Kulesh commented
@guizmaii
That solves all!
I will read docs more carefully :)