struct GLib::Tuples

Overview

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

Defined in:

lib/gi-crystal/src/auto/g_lib-2.0/tuples.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(data : LibGLib::Tuples, _transfer : GICrystal::Transfer) #

def self.new(len : UInt32 | Nil = nil) #

Instance Method Detail

def ==(other : self) : Bool #

def destroy : Nil #

DEPRECATED


def index(index_ : Int32, field : Int32) : Pointer(Void) | Nil #

DEPRECATED


def len(*args, **options) #

def len(*args, **options, &) #

def len=(arg) #