Deletes the specified object in an geometallurgical database.
gmRemove(expr, which=NULL, var=NULL, EXPR=substitute(expr), WHICH=substitute(which),
envir=parent.frame(), db=getOption("gmDB"))
No value.
R expression of an SQL query. Expressions created with gmExpr
and an ID in the database can be used as well.
Specifies for a set variable, which entry shall be deleted.
Defines the attributes, that shall be deleted.
The quoted version of such an expression.
The quoted version of which
.
defines the environment used for evaluation of expr
.
The connection to the database.
K. Gerald van den Boogaart, S. Matos Camacho
gmRemove
deletes the specified object in a geometallurgical database. This may include the removal of all its members, too.
If you only want to remove a certain attribute for an object, than use the argument var
for specifying. In the case of this attribute being an object itself but not a value, you may have more than one entry to choose for deleting. Therefor choose the right one by stating an id or an gmExpr in the which
argument.
gmRead
, gmExpr