new

fun new(fields: <Error class: unknown class>): Relation

Creates a new #GRelation with the given number of fields. Note that currently the number of fields must be 2.

Return

a new #GRelation.

Parameters

fields

the number of fields.