The amazing Dart community has already provided a whole spectrum of drivers (here P means published in the pub repository, https://pub.dartlang.org/).
For the relational databases, we have:
MySQL: An actively developed connector called
SQLJocky
(P) by James Ots (https://github.com/jamesots/sqljocky); we will use this driver in the next sectionPostgreSQL: A driver called
postgresql
(P) by Greg Lowe (https://github.com/xxgreg/postgresql)SQLite: A native extension library called
Dart-sqlite
by Sam McCall (https://github.com/sam-mccall/dart-sqlite/)ODBC-driver: A library called
dart-odbc
(P) by Juan Mellado; this allows connections to any database vendor (Oracle, MySQL, PostgreSQL, SQLServer, and so on) with legacy ODBC drivers (http://code.google.com/p/dart-odbc/)
For the NoSQL databases, the choice is even greater:
MongoDB: This is a driver called
mongo_dart
(P) by Vadim Tsushko, Ted Sander, and Paul Evans (https://github.com/vadimtsushko/mongo_dart); we'll use it...