glib.tuples

Module for [Tuples] struct

struct Tuples

Types 1

structTuples

The #GTuples struct is used to return records (or tuples) from the #GRelation by [glib.relation.Relation.select]. It only contains one public member - the number of records that matched. To access the matched records, you must use [glib.tuples.Tuples.index].

Deprecated

Rarely used API
Fields
uint lenthe number of records that matched.
Methods
void destroy()Frees the records which were returned by [glib.relation.Relation.select]. This should always be called after [glib.relation.Relation.select] when you are finished with the records. The records are ...
void * index(int index, int field)Gets a field from the records returned by [glib.relation.Relation.select]. It returns the given field of the record at the given index. The returned value should not be changed.