zlacker
[return to "Google's new pipe syntax in SQL"]
◧
1. victor+1Da
[view]
[source]
2024-08-29 06:51:56
>>heyden+(OP)
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
◧◩
2. h0l0cu+2Ea
[view]
[source]
2024-08-29 07:01:09
>>victor+1Da
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]