📜  phoenix ecto query bindingess - Elixir 代码示例

📅  最后修改于: 2022-03-11 14:48:01.885000             🧑  作者: Mango

代码示例1
where = [category: "fresh and new"]
order_by = [desc: :published_at]
select = [:id, :title, :body]
from Post, where: ^where, order_by: ^order_by, select: ^select