語言

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。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於