Object Deletion

The delete unary operator is used to delete persistent objects.
General Information
Operator delete
Syntax delete expr
Type unary
Operand Types oid or object
Result Type the operand type
Functions delete a transient or persistent object

Expression Examples
expression result
delete first(select Person) the oid of the deleted Person instance
delete new Person() the oid of the deleted Person instance
for (x in (select Person) delete x the oids of the deleted Person instances



EyeDB manual