iode.Identities.clear
- Identities.clear()
Delete all objects from the current database.
Examples
>>> from iode import SAMPLE_DATA_DIR >>> from iode import comments >>> comments.load(f"{SAMPLE_DATA_DIR}/fun.cmt") Loading .../fun.cmt 317 objects loaded >>> len(comments) 317 >>> comments.clear() >>> len(comments) 0