company logo

Delete instance (DEL)

The command deletes an instance in the referenced collection. Deleting an instance will reset the selections for all subsequent collections in the hierarchy. Option -E allows deleting defect (not readable) instances.

Parameters:

  • key_value - key value for the instance to be deleted (ordered collection). Key components have to be separated by '|'. When the key value contains special characters, it has to be quoted.
  • position - position of instance to be deleted
  • . - delete instance currently selected in the collection
  • * - delete all instances filtered in the current collection (--> sfc)
  • -Dn - re-direction to other data source.
  • -Cn - re-direction to other collection in the hierarchy or in the data source referenced by -Dn.
  • -E -Delete instances that cannot be read (usually by index).

Syntax:

  del keyval|position|.|* -Dn -Cn  // normal instance

  del keyval|position -E           // delete defekt instance

Examples:

  del Miller|Paul // Delete person instance for Paul Miller to selected

                  // instance

  del 0           // Delete first instance to selected instance

  del . -D3 -C2   // Delete selected instance to collection 2 in data

                  // source 3