Share via


DatabaseUtils.GetSqlStatementType(String) Method

Definition

Returns one of the following which represent the type of the given SQL statement.

[Android.Runtime.Register("getSqlStatementType", "(Ljava/lang/String;)I", "")]
public static Android.Database.StatementType GetSqlStatementType (string? sql);
[<Android.Runtime.Register("getSqlStatementType", "(Ljava/lang/String;)I", "")>]
static member GetSqlStatementType : string -> Android.Database.StatementType

Parameters

sql
String

the SQL statement whose type is returned by this method

Returns

one of the values listed above

Attributes

Remarks

Returns one of the following which represent the type of the given SQL statement. <ol> <li>#STATEMENT_SELECT</li> <li>#STATEMENT_UPDATE</li> <li>#STATEMENT_ATTACH</li> <li>#STATEMENT_BEGIN</li> <li>#STATEMENT_COMMIT</li> <li>#STATEMENT_ABORT</li> <li>#STATEMENT_OTHER</li> </ol>

Java documentation for android.database.DatabaseUtils.getSqlStatementType(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