Parameter | Type |
---|---|
T | extends any = any |
new DOS.Database(name);
Parameter | Type | Description |
---|---|---|
name | String | The name of the database |
.BASE_DIR S
The base directory for the databases
Type: String
.path
The path of the database file
Type: String
.data
The data of the database
Type: DatabaseData<T>
.set(key, value)
Set data in the database