Deleting Data
This is the manual for older MicroStream versions (Version < 5.0).
The new documentation (Version >= 5.0) is located at:
Deleting data does not require performing explicit deleting actions like DELETE FROM table WHERE... . Instead you just need to clear any references to the object in your object-graph and store those changes. If a stored object is not reachable anymore its data will be deleted from the storage later. This behavior is comparable to Java's garbage collector.
1
root.MyArrayList.remove(0);
2
storage.store(root.MyArrayList);
Copied!
Deleted data is not erased immediately from the storage files
The erasing from the storage files is done by the housekeeping process.
Export as PDF
Copy link