Skip to content
../services/dev

ORM

Prisma

The bridge between your code and your database.

Prisma is an ORM: a tool that connects your database to your application code. You describe your tables once in a readable file, and Prisma derives the queries, the types and the migration scripts from it. The concrete benefit: renaming a column in the schema immediately breaks the build everywhere the old name lingered, instead of producing an error in production.

What it prevents

  • Hand-written queries with approximate column names
  • Migrations applied inconsistently between staging and production
  • SQL injection, ruled out by the way queries are constructed
  • Schema documentation ageing in a corner: here the schema is the documentation

Where it helps most

Schemas that change often

A product under construction changes shape weekly. Versioned migrations make those changes traceable and reversible.

Handovers

A readable schema lets a new developer — or your in-house team — understand the data model in minutes.

Logic-heavy applications

When the code juggles many relations between entities, end-to-end typing removes a whole class of silent bugs.

Its limits

An ORM adds a layer of abstraction: on very complex analytical queries, hand-written SQL stays faster and more readable. Prisma allows that, but you have to know when to switch. And it does not excuse you from understanding your database: a badly designed query is slow, ORM or not.

Where we stand

We use Prisma for everyday work, and direct SQL for the few heavy queries where it counts. A tool should not become a dogma.

How we validate technical adoption

A technology is not selected for popularity. We build a small proof around the primary risk, then verify that the team can operate it. The decision accounts for the existing product, available skills, security, hosting, migration and maintenance cost over several years. We also examine the maturity of the ecosystem, upgrade paths, observability, licensing and the availability of reliable documentation. Before committing, the prototype is tested against a representative workflow and a realistic data volume. The resulting recommendation records both the reasons to adopt the component and the conditions under which it should be reconsidered. It also names the operational owner and the evidence needed for the first post-launch review.

Compatibility

The component must fit existing data, tools, languages and deployment constraints.

Maintainability

Another person must be able to understand, test and evolve the solution without relying on one author.

Measurement

Performance, errors, delivery time and operating cost are compared with a known baseline.

Exit

The strategy explains how to migrate data, replace the dependency or roll back when the context changes.

A data model to take over?

We map your existing schema and propose a gradual migration plan, with no service interruption.

Discuss your schema

Other pieces of the stack