Tuples

class Tuples(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record

The #GTuples struct is used to return records (or tuples) from the #GRelation by g_relation_select(). It only contains one public member - the number of records that matched. To access the matched records, you must use g_tuples_index().

Skipped during bindings generation

  • method index: Return type gpointer is unsupported

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion : RecordCompanion<Tuples, <Error class: unknown class>>

Properties

Link copied to clipboard
val glibTuplesPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var len: <Error class: unknown class>

the number of records that matched.

Functions

Link copied to clipboard
fun destroy()

Frees the records which were returned by g_relation_select(). This should always be called after g_relation_select() when you are finished with the records. The records are not removed from the #GRelation.