Using Ecto.Query I'd like to be able to run a query and prepend a comment like this in Postges:
/* my comment /* SELECT a.col FROM table a;
I've tried "where: fragment", but it's not working well, and it makes for messy SQL. Injection in a comment is problematic. Any suggestions?
当前的 Ecto 实现是不可能的。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.