RootDatabaseConfig
RootDatabaseConfig:
object
Root-provided configuration for database access. Root automatically creates an instance of RootDatabaseConfig for you and exposes it via the rootServer.dataStore.config property.
Type declaration
databaseType
databaseType:
DatabaseType
Returns the string sqlite3.
sqlite3?
optionalsqlite3:object
Provides the filename of your SQLite data file. Here's how you access the filename:
const sqliteFilename: string = rootServer.dataStore.config.sqlite3!.filename;
sqlite3.filename
filename:
string