SQLAsUnderstoodBySQLite [Top] ONCONFLICTclause conflict-clause:hide [图片] ONCONFLICT子句不是单独的SQL命令。
conflict-clause [图片] 使用的是:column-constrainttable-constraint SQLiteisinthePublicDomain.
table-constraint [图片] 使用者:create-table-stmt 参考:conflict-clauseexprforeign-key-clauseindexed-column
如果调用sqlite3_vtab_on_conflict()函数指示当前ONCONFLICT策略为REPLACE,则虚拟表实现应该静默地替换xUpdate回调中的相应行并返回SQLITE_OK。

扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2026 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059
粤公网安备44030502008569号
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号
