News for hackers. Stuff that matters.
Re:We Can Do Better Than SQL by throwaway894345 on Tuesday August 11, 2020 @10:46AM (#24120790)
And those ORMs have to deal with the SQL composability issues as well, often to the effect of dramatically poorer performance.
Re:We Can Do Better Than SQL by jolux on Tuesday August 11, 2020 @11:05AM (#24121045)
You’re right, using a query layer to access an SQL database is still using an SQL database. You need to know what you’re doing with your queries. The important part is not the object mapping and model tracking part, it’s the part that allows you to build typed queries in the native language. Diesel for Rust is a great example, as is Ecto in Elixir.
Re:We Can Do Better Than SQL by romanoderoma on Tuesday August 11, 2020 @11:03AM (#24121024)
I think Elixir ECTO does a very good job at that

https://hexdocs.pm/ecto/Ecto.Query.html#module-composition