delete

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

Deletes any records from a #GRelation that have the given key value in the given field.

Return

the number of records deleted.

Parameters

key

the value to compare with.

field

the field of each record to match.