zlacker

[parent] [thread] 1 comments
1. victor+(OP)[view] [source] 2024-08-29 06:51:56
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

replies(1): >>h0l0cu+11
2. h0l0cu+11[view] [source] 2024-08-29 07:01:09
>>victor+(OP)
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.
[go to top]