Use native database upsert for MySQL #16876
Labels
kind/feature
A request for a new feature.
team/client
Issue for team Client.
topic: mysql
topic: upsert
nested upsert
topic: upsert()
Problem
Prisma support for native SQL upserts was recently added for CockroachDB, PostgreSQL, SQLite.
Equivalent functionality has not yet been added for the MySQL datasource.
previous discussion
Suggested solution
Use the same rules for choosing native MySQL upserts as for PostgreSQL etc, but use MySQL
ON DUPLICATE KEY
syntax.The text was updated successfully, but these errors were encountered: