SQLiteDatabase.ConflictReplace 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 UNIQUE constraint violation occurs, the pre-existing rows that are causing the constraint violation are removed prior to inserting or updating the current row.

[Android.Runtime.Register("CONFLICT_REPLACE")]
[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 ConflictReplace = 5;
[<Android.Runtime.Register("CONFLICT_REPLACE")>]
[<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 ConflictReplace : Android.Database.Sqlite.Conflict

Field Value

Conflict
Attributes

Remarks

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

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