init
init(
dbDir):void
Defined in: .work/repos/edinburgh/src/edinburgh.ts:86
Initialize the database with the specified directory path. This function may be called multiple times with the same parameters. If it is not called before the first transact(), the database will be automatically initialized with the default directory.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
Example
Section titled “Example”init("./my-database");