Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

phoenix ecto query bindingess

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 by hexdocs.pm #
 
PREVIOUS NEXT
Tagged: #phoenix #ecto #query #bindingess
ADD COMMENT
Topic
Name
8+9 =