|
Whitebeam Template Reference Documentation
|
Collection Template
removeArcs()
Bulk mechanism to remove all arcs that match a specified set of criteria.
Syntax
number = rb.collection.removeArcs(searchParams)
Parameters
The 'removeArcs' method takes 1 parameter:
Results
The 'removeArcs' method returns number:
Type/Value | Range/Length | Description |
number |
  | |
Remarks Individual relationships (arcs) can be deleted using
rb.collection.configureArcs
method. There are however times when it's useful to remove a whole range of relations quickly and efficiently. This (removeArcs) method uses the same search specification structure as
rb.collection.getArcs,
although not all the fields are used. Use this method with care! It is quite easy to remove a whole raft of relations with this method - make
sure you have the search specification right!
The search structure (
arcSearchType) has
the following restrictions when used in this method: - startPointType/startPointID -
must be specified and must exist
- allData -
Not used
- sortBy -
Not used
|
|
(loadtime : 169ms) |