Tuples

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.

More...
class Tuples {
GTuples cInstance;
}

Members

Functions

destroy
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 not removed from the #GRelation.

index
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.

Detailed Description

Deprecated: Rarely used API