3 ms·
And those ORMs have to deal with the SQL composability issues as well, often to the effect of dramatically poorer performance.
by throwaway894345 6y ago
And those ORMs have to deal with the SQL composability issues as well, often to the effect of dramatically poorer performance.
- romanoderoma 6y agoI think Elixir ECTO does a very good job at that https://hexdocs.pm/ecto/Ecto.Query.html#module-composition https://hexdocs.pm/ecto/Ecto.Query.html#module-composition
- jolux 6y agoYou’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.