Tuples
class Tuples(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null) : ProxyInstance
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().
Constructors
Link copied to clipboard
constructor()
Allocate a new Tuples.
constructor(scope: <Error class: unknown class>)
Allocate a new Tuples using the provided AutofreeScope.
constructor(len: <Error class: unknown class>)
Allocate a new Tuples.
constructor(len: <Error class: unknown class>, scope: <Error class: unknown class>)
Allocate a new Tuples using the provided AutofreeScope.
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)
Functions
Link copied to clipboard
fun index(index: <Error class: unknown class>, field: <Error class: unknown class>): <Error class: unknown class>?
Gets a field from the records returned by g_relation_select(). It returns the given field of the record at the given index. The returned value should not be changed.