[ CCode ( has_construct_function = false ) ]
public StoreDB (string filename, Cancellable? cancellable = null) throws Error
Creates a new StoreDB instance, which uses filename as its storage.
It also migrates existing data, if needed, providing feedback through the cancellable, if it's a
Operation instance.
| filename |
a file name of the database to use |
| cancellable |
a Cancellable, or null |
|
a new StoreDB, or null on error |