select

fun select(key: <Error class: unknown class>? = null, field: <Error class: unknown class>): Tuples(source)

⚠️ Deprecated ⚠️

This is deprecated since version 2.26.

Rarely used API

---

Returns all of the tuples which have the given key in the given field. Use g_tuples_index() to access the returned records. The returned records should be freed with g_tuples_destroy().

Return

the records (tuples) that matched.

Parameters

key

the value to compare with.

field

the field of each record to match.