Freigeben über


SQLiteDatabase.CreateRawStatement(String) Method

Definition

Return a SQLiteRawStatement connected to the database.

[Android.Runtime.Register("createRawStatement", "(Ljava/lang/String;)Landroid/database/sqlite/SQLiteRawStatement;", "GetCreateRawStatement_Ljava_lang_String_Handler", ApiSince=35)]
public virtual Android.Database.Sqlite.SQLiteRawStatement CreateRawStatement (string sql);
[<Android.Runtime.Register("createRawStatement", "(Ljava/lang/String;)Landroid/database/sqlite/SQLiteRawStatement;", "GetCreateRawStatement_Ljava_lang_String_Handler", ApiSince=35)>]
abstract member CreateRawStatement : string -> Android.Database.Sqlite.SQLiteRawStatement
override this.CreateRawStatement : string -> Android.Database.Sqlite.SQLiteRawStatement

Parameters

sql
String

The SQL string to be compiled into a prepared statement.

Returns

A SQLiteRawStatement holding the compiled SQL.

Attributes

Remarks

Return a SQLiteRawStatement connected to the database. A transaction must be in progress or an exception will be thrown. The resulting object will be closed automatically when the current transaction closes.

Java documentation for android.database.sqlite.SQLiteDatabase.createRawStatement(java.lang.String).

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