SQLiteDatabase.ConflictIgnore 字段

定义

注意

This constant will be removed in the future version. Use Android.Database.Sqlite.Conflict enum directly instead of this field.

发生约束冲突时,不会插入或更改包含约束冲突的一行。

[Android.Runtime.Register("CONFLICT_IGNORE")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Database.Sqlite.Conflict enum directly instead of this field.", true)]
public const Android.Database.Sqlite.Conflict ConflictIgnore = 4;
[<Android.Runtime.Register("CONFLICT_IGNORE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Database.Sqlite.Conflict enum directly instead of this field.", true)>]
val mutable ConflictIgnore : Android.Database.Sqlite.Conflict

字段值

Value = 4
属性

注解

发生约束冲突时,不会插入或更改包含约束冲突的一行。 但该命令将继续正常执行。 包含约束冲突的行前后的其他行将继续正常插入或更新。 不会返回任何错误。

Java文档android.database.sqlite.SQLiteDatabase.CONFLICT_IGNORE

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于