GLib.Relation.delete

### Method

# GLib Relationdelete

deprecated: 2.26

#### Declaration

    gint
    g_relation_delete (
      GRelation* relation,
      gconstpointer key,
      gint field
    )

#### Description

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

Deprecated since: 2.26

Rarely used API.

#### Parameters

`key`

  Type: `gconstpointer`

  The value to compare with.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`field`

  Type: `gint`

  The field of each record to match.

#### Return value

Type: `gint`

The number of records deleted.