Custom macro inside ecto query expression

前端 未结 0 1341
南方客
南方客 2020-12-29 03:55

I have following part of a query:

|> select_merge([c], %{expired_at: calculate_date(c.date, c.duration)})

And I have following macro

相关标签:
回答
  • 消灭零回复
提交回复
热议问题