Skip to content

Database polyfills

Source URL: https://docs.prisma.io/docs/orm/prisma-client/setup-and-configuration/database-polyfills

Prisma Client provides features that are not achievable with relational databases. These features are referred to as “polyfills” and explained on this page.

Prisma Client provides features that are typically either not achievable with particular databases or require extensions. These features are referred to as polyfills. For all databases, this includes:

  • Initializing ID values with cuid and uuid values
  • Using @updatedAt to store the time when a record was last updated

For relational databases, this includes:

  • Implicit many-to-many relations

For MongoDB, this includes: