Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

anaki_mysql

MySQL driver for Anaki ORM — native performance via Rust FFI.

This package provides the MySQL database driver for Anaki ORM, enabling high-performance database operations through native Rust bindings.

Documentation

For complete documentation, installation guides, API reference, and examples, please visit the main repository:

👉 https://github.com/Flutterando/anakiORM

Quick Start

dependencies:
  anaki_orm: ^0.1.0
  anaki_mysql: ^0.1.0
import 'package:anaki_orm/anaki_orm.dart';
import 'package:anaki_mysql/anaki_mysql.dart';

void main() async {
  final db = AnakiDb(MysqlDriver(
    host: 'localhost',
    port: 3306,
    database: 'myapp',
    username: 'root',
    password: 'secret',
  ));
  await db.open();
  // ... your code
  await db.close();
}

License

MIT