Added in API level 1

SQLiteQuery


class SQLiteQuery : SQLiteProgram

Represents a query that reads the resulting rows into a SQLiteQuery. This class is used by SQLiteCursor and isn't useful itself.

This class is not thread-safe.

Summary

Public methods
String

Inherited functions
Unit acquireReference()

Acquires a reference to the object.

Unit close()

Releases a reference to the object, closing the object if the last reference was released. Calling this method is equivalent to calling releaseReference.

Unit onAllReferencesReleasedFromContainer()

Called when the last reference to the object was released by a call to releaseReferenceFromContainer().

Unit releaseReference()

Releases a reference to the object, closing the object if the last reference was released.

Unit releaseReferenceFromContainer()

Releases a reference to the object that was owned by the container of the object, closing the object if the last reference was released.

Unit bindAllArgsAsStrings(bindArgs: Array<String!>!)

Given an array of String bindArgs, this method binds all of them in one single call.

Unit bindBlob(index: Int, value: ByteArray!)

Bind a byte array value to this statement. The value remains bound until clearBindings is called.

Unit bindDouble(index: Int, value: Double)

Bind a double value to this statement. The value remains bound until clearBindings is called.

Unit bindLong(index: Int, value: Long)

Bind a long value to this statement. The value remains bound until clearBindings is called. addToBindArgs

Unit bindNull(index: Int)

Bind a NULL value to this statement. The value remains bound until clearBindings is called.

Unit bindString(index: Int, value: String!)

Bind a String value to this statement. The value remains bound until clearBindings is called.

Unit clearBindings()

Clears all existing bindings. Unset bindings are treated as NULL.

Int getUniqueId()

Unimplemented.

Unit onAllReferencesReleased()

Public methods

toString

Added in API level 1
fun toString(): String
Return
String a string representation of the object.