2 ms·
That is an argument for using an ORM (or similar) to define the schema. I agree it is probably the biggest single advantage. There are advantages for using an
by graemep 3y ago
That is an argument for using an ORM (or similar) to define the schema. I agree it is probably the biggest single advantage.
There are advantages for using an ORM for queries. Its more concise (at least Django ORM, which is what I mostly use), it uses the same syntax as the rest of your code, and it returns an object. It works very well for simple queries but for more complex ones it does sometimes feel like I am fighting the ORM, and you do often have to look at the generated SQL too.