Open
Description
Hello, we were trying to using scalasql on a new project and I have the following. Using the example from the tutorial below, oracle expects the where clause to be WHERE (city0.name IN (?, ?, ?)). Is there a way i can get this to work?
thanks
val query = City.select
.filter(c => db.values(Seq("Singapore", "Kuala Lumpur", "Jakarta")).contains(c.name))
.map(_.countryCode)
db.renderSql(query) ==> """
SELECT city0.countrycode AS res
FROM city city0
WHERE (city0.name IN (VALUES (?), (?), (?)))
"""
Metadata
Metadata
Assignees
Labels
No labels