Open timzaak opened 1 month ago
Version: (e.g. 4.8.4) Module: (e.g. quill-jdbc) Database: (e.g. postgresql)
4.8.4
quill-jdbc
postgresql
val data = db.run(quote{ sql"""SELECT time, data from abc where user_id = 1 order by time""" .as[Query[(LocalDateTime, io.circe.Json)]] })
can be work correctly.
The SQL log output:
SELECT x._1, x._2 FROM (SELECT time, data from abc order by time) AS x
sql"""SELECT time as _1, data as _2 from abc where user_id = 1 order by time""" .as[Query[(LocalDateTime, io.circe.Json)]]
do it on my own
@getquill/maintainers
Version: (e.g.
4.8.4
) Module: (e.g.quill-jdbc
) Database: (e.g.postgresql
)Expected behavior
can be work correctly.
Actual behavior
The SQL log output:
Workaround
do it on my own
@getquill/maintainers