Love relate and the SqlResult parsing is much cleaner than anorm. One thing missing is #$ interpolation which is supported by anorm and slick. Its helpful for use cases like dynamic table names, order clauses, etc:
val accountId = 2
val orderCol = "foo"
val orderDir = "desc"
sql"select name, sum(foo) as foo, sum(bar) as bar from table where account_id = $account_id group by name order by #$orderCol #$orderDir"
I have a quick and dirty commit which unblocks me for now, would remove this for official version if/when supported:
xadrnd@40e1766
Thanks!
Love relate and the SqlResult parsing is much cleaner than anorm. One thing missing is #$ interpolation which is supported by anorm and slick. Its helpful for use cases like dynamic table names, order clauses, etc:
I have a quick and dirty commit which unblocks me for now, would remove this for official version if/when supported:
xadrnd@40e1766
Thanks!