Whether to disable caching
Database name
Data deserializer
Can be a Dialect name or the instance of it. Refer all the Dialects here: SupportedDialectsType
Database's host
Password of the Database
Database's Port
Data serializer
Path to Database file (only when using SQLite)
MongoDB URL (only when using MongoDB)
Username of the Database
Generated using TypeDoc
Keyvify Configuration (Common for all Dialects)
Example:
SQLite
const config = { dialect: "sqlite", storage: "./database.sqlite" }
Postgres
const config = { dialect: "postgres", username: "someuser", password: "youshallnotpass", host: "localhost", port: "8080" }
MongoDB
const config = { dialect: "mongodb", uri: "mongodb://mongodb0.example.com:27017" }