[英]How can I do INSERT with SQLITE with ON CONFLICT REPLACE strategy?
I'm experimenting with Prisma, and I'm liking it so far.我正在试验 Prisma,到目前为止我很喜欢它。 The only thing I can't figure out is how to specify a
on conflict
strategy.我唯一想不通的是如何指定
on conflict
策略。
I'm using Sqlite, but I can't find any documentation for Prisma to allow me to insert data with a more resilient strategy against duplicates.我正在使用 Sqlite,但我找不到 Prisma 的任何文档来允许我使用更具弹性的策略来插入数据以防止重复。
How can apply IGNORE/REPLACE/etc.如何申请IGNORE/REPLACE/等。 from the ON CONFLICT DOC ?
来自ON CONFLICT DOC ?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.