I'm trying to escape the ?|
operator in this query:
val data = sql"""
SELECT ......
FROM .......
WHERE table.column ?| array['23', '12']
""".as[Int].head
db.run(data)
however the ?|
operator gets translated as $1|
in the query (checked in the DB query log) and it obviously generates the error
ERROR: syntax error at or near "$1" at character 735
I've tried with #?|
and $?|
without success