count

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

⚠️ Deprecated ⚠️

This is deprecated since version 2.26.

Rarely used API

---

Returns the number of tuples in a #GRelation that have the given value in the given field.

Return

the number of matches.

Parameters

key

the value to compare with.

field

the field of each record to match.