0 purchases
utopia database adapter mariadb
Utopia Database MariaDB Adapter #
MariaDB adapter for Utopia database.
Setup #
This package should be used along with utopia_database package to connect to MariaDB database.
Example #
import 'package:utopia_database/utopia_database.dart';
import 'package:utopia_database_adapter_mariadb/utopia_database_adapter_mariadb.dart';
void main() async {
final mariadb = await MariaDB.init(host: 'localhost', port: 3306);
final database = Database(mariadb);
database.setDefaultDatabase('mydb');
await database.create();
}
copied to clipboard
For more details check Utopia database.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.