AJ Learning Hub logoAJ Learning Hub

ORM

also Object Relational Mapper

A tool that maps database tables to objects in your code so you can query data in your programming language instead of writing SQL.

Analogy

Like a helper that translates between database language and your app's language.

Why it matters

ORMs like Prisma make database access readable and less error-prone, speeding up backend builds.

In practice

Calling user.posts in code instead of writing a JOIN query.

Related terms:PrismaSupabaseAPI