Back to Prisma

Database polyfills

apps/docs/content/docs.v6/orm/prisma-client/setup-and-configuration/database-polyfills.mdx

latest802 B
Original Source

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:

For MongoDB, this includes: