Python Code | Description |
st = metakit.storage() | Open an in-memory storage. |
st = metakit.storage("mydatabase", 1) | Open a disk-based storage for modification. It will be created if it doesn't exist. |
st = metakit.storage("mydatabase", 0) | Open a disk-based storage for read-only operations. |
Table 1: Types of storages.