Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by victorbjorklund

1 year ago

Looks just like writing sql using Ecto in Elixir:

"users" |> where([u], u.age > 18) |> select([u], u.name)

https://hexdocs.pm/ecto/Ecto.Query.html

1 comment

victorbjorklund

Reply

h0l0cube  1 year ago

Thought this too. The example queries look very much like Ecto statements. I miss the ergonomics and flexibility of Ecto when I use database wrappers on other platforms.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities