Promptles
Backend & APIs

ORM (Object-Relational Mapping)

intermediate

Definition

A helper that lets a programmer work with database information as if it were everyday objects in their code, instead of writing raw database commands by hand. It saves time and reduces certain kinds of mistakes. Though it can also hide problems if it generates clumsy queries behind the scenes.

In the wild

Instead of writing a database command in a special database language, a programmer just writes something like 'find the user named Alice.' The ORM quietly translates that into the proper database command, runs it, and gives back the result.

More from Backend & APIs