4 ms·
> A majority of what an ORM provides can be solved by a view or a function. If you want to get a single number or column of numbers - then yes, you can go with
by codedokode 4y ago
> A majority of what an ORM provides can be solved by a view or a function.
If you want to get a single number or column of numbers - then yes, you can go with an SQL query. But if you need to get data about products in a store, you'll have to fetch the data and create objects for every product. Wow, you have just written an ORM.