3 ms·
No, the main benefits of ORM are not to avoid to learn SQL, they are: • syntactic sugar and language/tooling integration for very common operations; • a centr
by BiteCode_dev 5y ago
No, the main benefits of ORM are not to avoid to learn SQL, they are:
• syntactic sugar and language/tooling integration for very common operations;
• a centralized data access API to build upon, that you would have to create anyway with raw SQL;
• a single introspectable source of truth you can use to generate web API, models, data validation/migration and so on.
Eventually, even using an ORM, you will need to learn SQL if you go beyond the toy project.