Relation.count

Warning g_relation_count has been deprecated since version 2.26 and should not be used in newly-written code. Rarely used API Returns the number of tuples in a GRelation that have the given value in the given field.

class Relation
int
count
(
void* key
,
int field
)

Parameters

key void*

the value to compare with.

field int

the field of each record to match.

Return Value

Type: int

the number of matches.

Meta