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

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr()
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.

Properties

len
uint len [@property getter]

Get field len.

len
uint len [@property setter]

Set field len.

Detailed Description

Deprecated: Rarely used API