StoreDB


Description:

[ 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.

Parameters:

filename

a file name of the database to use

cancellable

a Cancellable, or null

Returns:

a new StoreDB, or null on error