SQLiteObject

SQLite Object

Describes a map-like object which is backed by a single SQLite query result; the object provides access to values at the names for each associated column, along with certain host-side metadata (columns, columnTypes) which describe the structure of the result set.

The result is also available as a list of values, via asList.

See also

Map-like base interface

Properties

Link copied to clipboard
abstract val columns: Array<String>

Host-side only: array of columns specified by this object.

Link copied to clipboard

Host-side only: mapping of columns to their interpreted type.

Link copied to clipboard
abstract val entries: Set<Map.Entry<String, Any?>>
Link copied to clipboard
abstract val keys: Set<String>
Link copied to clipboard
abstract val size: Int
Link copied to clipboard
abstract val values: Collection<Any?>

Functions

Link copied to clipboard
abstract fun asList(): List<Any?>

Return this object as an ordered list of values.

Link copied to clipboard
abstract fun containsKey(key: String): Boolean
Link copied to clipboard
abstract fun containsValue(value: Any?): Boolean
Link copied to clipboard

TBD.

Link copied to clipboard
abstract fun forEach(op: (MapLike.Entry<String, Any?>) -> Unit)

TBD.

Link copied to clipboard
abstract operator override fun get(key: String): Any?

TBD.

Link copied to clipboard
abstract fun has(key: String): Boolean

TBD.

Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun keys(): JsIterator<String>

TBD.

Link copied to clipboard
abstract override fun toString(): String

TBD.

Link copied to clipboard
abstract fun values(): JsIterator<Any?>

TBD.