ORM
Meaning in databases & SQL, with examples
In databases & SQL, ORM means: Object-relational mapping: a library that lets developers work with database rows as objects in their programming language and generates the SQL for them.
In Turkish: nesne-ilişkisel eşleme, ORM
How it is used
Popular examples are Hibernate, Entity Framework, Django ORM, SQLAlchemy, Prisma and ActiveRecord. ORMs save time but can hide inefficient queries; the most famous problem is the 'N+1 query problem'. Developers often mix ORM code with raw SQL for complex reports.
Example sentences
The ORM is sending one query per order item; that's a classic N+1 problem.
For this report, skip the ORM and write the SQL by hand.
Common collocations
- use an ORM
- ORM framework
- N+1 query problem
- ORM-generated SQL
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: Database Basics
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
