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
cuidanduuidvalues - Using
@updatedAtto store the time when a record was last updated
For relational databases, this includes:
For MongoDB, this includes:
- Relations in general - foreign key relations between documents are not enforced in MongoDB