DatabaseUtils.AppendValueToSql(StringBuilder, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Appends an Object to an SQL string with the proper escaping, etc.
[Android.Runtime.Register("appendValueToSql", "(Ljava/lang/StringBuilder;Ljava/lang/Object;)V", "")]
public static void AppendValueToSql(Java.Lang.StringBuilder? sql, Java.Lang.Object? value);
[<Android.Runtime.Register("appendValueToSql", "(Ljava/lang/StringBuilder;Ljava/lang/Object;)V", "")>]
static member AppendValueToSql : Java.Lang.StringBuilder * Java.Lang.Object -> unit
Parameters
- sql
- StringBuilder
The SQL string builder to append to. Must not be null.
- value
- Object
The value to append: null becomes the SQL keyword NULL, a Java Boolean becomes 1 or 0, and other objects become quoted, escaped string values. This method appends SQL text; it does not bind a statement parameter.
- Attributes
Remarks
Appends an Object to an SQL string with the proper escaping, etc.
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.