Optional
options: { path: string } & Partial<DatabaseOptions>Database path
Database version
Database path
Triggered when the database is upgraded
Triggered when the database is downgraded
Static
SchemaStatic
SchemaStatic
versionLoads database.
Optional
callback: NodeJSLikeCallback<any>Creates a new model.
Optional
schema: Record<string, AddSchemaTypeOptions> | default<T>Saves database.
Optional
callback: NodeJSLikeCallback<any>
Database constructor.