Flutter Gems is a curated list of 7250+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter Database Adapters and Connectors packages
Last updated: May 18, 2026
Database Adapters and Connectors allow Dart to interact directly with external, remote databases like PostgreSQL, MySQL, and MongoDB.
Best Practices for Database Connectors
- Avoid Direct Mobile-to-Database Connections: It is highly insecure to connect a mobile app directly to a remote database, as you must bundle the database credentials inside the app (making them vulnerable to reverse engineering).
- Use a Backend API: For consumer-facing apps, always place a backend API (Node.js, Python, Dart Frog) between your Flutter app and the database to handle authentication and rate limiting.
- Valid Use Cases: Direct database adapters in Flutter are best reserved for internal tooling, desktop admin dashboards, or server-side Dart applications.
The complete list of Database Adapter and Connector packages for MongoDB, MySQL, Postgres, and others is provided below.
postgres
👍 410 ⬇️ 166.4K
Dart 3 compatibleMaintenance Status: Good
PostgreSQL database driver. Supports binary protocol, connection pooling and statement reuse.
mongo_dart
👍 505 ⬇️ 20K
Dart 3 compatibleMaintenance Status: Good
MongoDB driver, implemented in pure Dart. All CRUD operations, aggregation pipeline and more!
mysql1
👍 493 ⬇️ 9.2K
Dart 3 compatibleMaintenance Status: Poor
A library for connecting to and querying MySQL & MariaDB databases.
redis
👍 145 ⬇️ 105.1K
Dart 3 compatibleMaintenance Status: Good
Redis database (https://redis.io/) client, with both simplicity and performance as primary goals.
mysql_client
👍 186 ⬇️ 18.7K
Dart 3 compatibleMaintenance Status: Poor
Native MySQL client written in Dart. Tested with MySQL Percona Server (5.7, 8), MariaDB (10). Supports TLS.
database
👍 108 ⬇️ 474
Dart 3 compatibleMaintenance Status: Poor
A database API (work in progress).
mysql_utils
👍 62 ⬇️ 260
Dart 3 compatibleMaintenance Status: Good
This is [mysql_client_plus] help library,This makes mysql easier to use and simple.
faunadb_http
👍 54 ⬇️ 102
Dart 3 compatibleMaintenance Status: Poor
A pure Dart implementation of a FaunaDB client and provides query classes that closely mimic FQL functions.
sql_conn
👍 52 ⬇️ 160
Dart 3 compatibleMaintenance Status: Good
Universal production-ready Flutter SQL connector using JDBC and secure pooled connections.
fluent_query_builder
👍 51 ⬇️ 415
Dart 3 compatibleMaintenance Status: Poor
A dart library that allows you to execute SQL queries in the PostgreSQL database in a fluent way, is very easy to execute.
postgresql2
👍 44 ⬇️ 567
Dart 3 compatibleMaintenance Status: Good
A fork of Greg's PostgreSQL driver (xxgreg/postgresql) using conserved substitution respecting strings and @@ operators. Also optimizing the pool implementation aggressivly.
surrealdb
👍 38 ⬇️ 152
Dart 3 compatibleMaintenance Status: Good
SurrealDB client written in pure dart. Auto reconnect, Typed functions
mssql_connection
👍 32 ⬇️ 2.9K
Dart 3 compatibleMaintenance Status: Good
Flutter/Dart plugin to connect to Microsoft SQL Server using Dart FFI + FreeTDS. Cross-platform: Windows, Android, iOS, macOS, Linux.
drift_postgres
👍 27 ⬇️ 4.3K
Dart 3 compatibleMaintenance Status: Good
Postgres implementation and APIs for the drift database package.
dart_odbc
👍 28 ⬇️ 136
Dart 3 compatibleMaintenance Status: Good
A Dart package for interacting with ODBC databases. It allows you to connect to ODBC data sources and execute SQL queries directly from your Dart applications.
cqrs
👍 27 ⬇️ 517
Dart 3 compatibleMaintenance Status: Good
A library for convenient communication with CQRS-compatible backends, using queries and commands.
sqflite_migration
👍 23 ⬇️ 2.7K
Dart 3 compatibleMaintenance Status: Poor
A library to enable sqlite db migrations, using sqflite plugin.
rethink_db_ns
👍 25 ⬇️ 32
Dart 3 compatibleMaintenance Status: Poor
This is an unofficial driver for using RethinkDB in Dart and Flutter supporting Null Safety, this driver is based on a fork https://github.com/marceloneppel/rethinkdb
shorebird_redis_client
👍 19 ⬇️ 6.5K
Dart 3 compatibleMaintenance Status: Good
A lightweight Dart client library for communicating with a Redis server. Built by Shorebird.
connect_to_sql_server_directly
👍 23 ⬇️ 24
Dart 3 compatibleMaintenance Status: Poor
A flutter plugin to connect to a sql server database directly.
galileo_mysql
👍 18 ⬇️ 226
Dart 3 compatibleMaintenance Status: Poor
A library for connecting to and querying MySQL & MariaDB databases.
dbutils
👍 8 ⬇️ 151
Dart 3 compatibleMaintenance Status: Average
Database utilities class library for SQLite and any number of other DBMS implemented in the future.
easy_orm_postgres
👍 4 ⬇️ 29
Dart 3 compatibleMaintenance Status: Poor
A simple ORM for Dart & Postgresql
couchbase_lite
👍 46 ⬇️ 103
Maintenance Status: Poor
Flutter plugin for Couchbase Lite Community Edition, an embedded lightweight, noSQL database with live synchronization and offline support on Android and iOS.
dart_mssql
👍 32 ⬇️ 30
Maintenance Status: Poor
High Performance Microsoft SQL Server Driver for Dart (32 & 64bits)
dartis
👍 26 ⬇️ 2K
Maintenance Status: Poor
Redis client featuring type-safe commands, pipelining, fire and forget, publish/subscribe, monitor mode, inline commands, transactions, Lua scripting, modules, and much more.
