Udostępnij za pośrednictwem


SQLiteStatement.ExecuteUpdateDelete Method

Definition

Execute this SQL statement, if the number of rows affected by execution of this SQL statement is of any importance to the caller - for example, UPDATE / DELETE SQL statements.

[Android.Runtime.Register("executeUpdateDelete", "()I", "GetExecuteUpdateDeleteHandler")]
public virtual int ExecuteUpdateDelete ();
[<Android.Runtime.Register("executeUpdateDelete", "()I", "GetExecuteUpdateDeleteHandler")>]
abstract member ExecuteUpdateDelete : unit -> int
override this.ExecuteUpdateDelete : unit -> int

Returns

the number of rows affected by this SQL statement execution.

Attributes

Exceptions

If the SQL string is invalid for some reason

Remarks

Execute this SQL statement, if the number of rows affected by execution of this SQL statement is of any importance to the caller - for example, UPDATE / DELETE SQL statements.

Java documentation for android.database.sqlite.SQLiteStatement.executeUpdateDelete().

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