- What is ORM
- Why is it needed
- Advantages and Disadvantages
- How to connect with DB using ORM in Django
- Creating tables and models
- How to query tables using ORM
- Summary and Resources
- Conclusion
Object-Relational Mapping (ORM) is a technique that lets you query and manipulate data from a database using an object-oriented paradigm
Handles the complex logic of sql to interact with DB.
It improves security.
- Reduces development time.
- Improves security.
- Overcomes the vendor specific differences of SQL
- Makes migration easier.
- Developer does not get to interact with DB directly.
- Are often slow.
- Cannot create complex optimised queries which can be done in sql.