nikolasburk
datasource
provider dynamic via environment variables
The provider
field on the datasource
definition in your Prisma schema now also accepts an array of strings (instead of just a plain string). This can be helpful when you want to switch environments which point to different databases based on an environment variable. Learn more about this feature
https://github.com/prisma/prisma/issues/1487.
๐งช Experimental features
After adding connectOrCreate
and transactionApi
as the first experimental features in the last release, we're now excited to release another feature to the experimental stage: Aggregation queries with Prisma Client. In addition to the already existing count
query, you can now let Prisma Client calculate sum, minimum, maximum and average values for any fields of type Int
or Float
in your Prisma schema!
You can learn more about all features in the release notes, we're looking forward to your feedback for the new version! ๐ ๐