Udostępnij za pośrednictwem


SQLiteDatabase.ConflictIgnore Field

Definition

Caution

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

When a constraint violation occurs, the one row that contains the constraint violation is not inserted or changed.

[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

Field Value

Value = 4
Attributes

Remarks

When a constraint violation occurs, the one row that contains the constraint violation is not inserted or changed. But the command continues executing normally. Other rows before and after the row that contained the constraint violation continue to be inserted or updated normally. No error is returned.

Java documentation for android.database.sqlite.SQLiteDatabase.CONFLICT_IGNORE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to