@gavinhsmith/simpledb
@gavinhsmith/simpledb / lib/database / Database
Database(file, config): Database
file
config
Database
Defined in: lib/database.ts:14
Loads a database, or creates one if it did not already exist.
string
The file to hook the database into. If memory or disk uses an non-persistant database in the respective location.
memory
disk
Partial<Config>
Partial
Config
Configuration options for the Database.
An instance hooked into your database.
There was an error while loading. Please reload this page.