Phoenix Ecto Query Bindingess

[Solved] Phoenix Ecto Query Bindingess | Elixir - Code Explorer | yomemimo.com
Question : phoenix ecto query bindingess

Answered by : nguyen-quang-huy

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

Source : https://hexdocs.pm/ecto/Ecto.Query.html | Last Update : Fri, 07 Jan 22

Answers related to phoenix ecto query bindingess

Code Explorer Popular Question For Elixir