πŸš€ GoFr Summer of Code 2025 is Live. Register Now !
Join Now

Injecting Database Drivers

Keeping in mind the size of the framework in the final build, it felt counter-productive to keep all the database drivers within the framework itself. Keeping only the most used MySQL and Redis within the framework, users can now inject databases in the server that satisfies the base interface defined by GoFr. This helps in reducing the build size and in turn build time as unnecessary database drivers are not being compiled and added to the build.

We are planning to provide custom drivers for most common databases, and is in the pipeline for upcoming releases!

Supported Databases

DatasourceHealth-CheckLogsMetricsTracesVersion-Migrations
MySQLβœ…βœ…βœ…βœ…βœ…
REDISβœ…βœ…βœ…βœ…βœ…
PostgreSQLβœ…βœ…βœ…βœ…βœ…
ArangoDBβœ…βœ…βœ…βœ…βœ…
BadgerDBβœ…βœ…βœ…βœ…
Cassandraβœ…βœ…βœ…βœ…βœ…
ClickHouseβœ…βœ…βœ…βœ…
DGraphβœ…βœ…βœ…βœ…
MongoDBβœ…βœ…βœ…βœ…βœ…
NATS KVβœ…βœ…βœ…βœ…
OpenTSDBβœ…βœ…βœ…
ScyllaDBβœ…βœ…βœ…βœ…
Solrβœ…βœ…βœ…
SQLiteβœ…βœ…βœ…βœ…βœ…
SurrealDBβœ…βœ…βœ