What does ORM mean?

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.

ˌoʊ ɑːr ˈɛmabbreviationCore term

Databases & SQL vocabulary · Database Basics

In Turkish: nesne-ilişkisel eşleme, ORM

Also used in: Software Engineering

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

  1. The ORM is sending one query per order item; that's a classic N+1 problem.

  2. 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

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: