Hacker News new | ask | show | jobs
by jolux 1718 days ago
Compare SxQL to Ecto.Query, the main query DSL for Elixir:

  query = from u in "users",
          where: u.age > 18,
          select: u.name
1 comments

So what?

You can come up with something like:

    (from u in users where u.age > 18 select u.name)
It's a simple matter of programming.
I'm illustrating a similarity, not making a judgment on which is better.