Index Ai Academy
Glossary · Phase 7 · Software engineering

ORM

Also written: object-relational mapper

A library that lets code work with database rows as objects and writes the SQL for you, like SQLAlchemy.

Try it now

A session is a workspace: it tracks the objects you add or load, and nothing reaches the database until a flush or commit.

Learn it properly

Databases with an ORM · SQLAlchemy models, sessions, relationships, transactions and the N+1 problem. About 45 minutes.

Create a free account See what's in the lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write