phorm_mysql 1.2.0
phorm_mysql: ^1.2.0 copied to clipboard
MySQL driver for the PHORM. Provides a PhormDatabase implementation backed by MySQL, including connection management, dialect support, and async query execution.
PHORM MySQL 🚀 #
Warning
🚧 This package is under active development and is not yet functional. The API is unstable and subject to change. Do not use in production.
A MySQL driver for the PHORM — a lightweight, type-safe, driver-agnostic ORM for Dart and Flutter.
Roadmap #
- ❌ MySQL dialect (
SqlDialectimplementation) - ❌ Connection pool management
- ❌ Async query executor
- ❌ Migration support
- ❌ Dart server support
Usage (planned) #
import 'package:phorm_mysql/phorm_mysql.dart';
final db = PhormMysqlDatabase(
host: 'localhost',
port: 3306,
database: 'mydb',
username: 'root',
password: 'secret',
tables: [usersTable],
);
final users = PhormCore<User>(dbManager: db, table: usersTable);
await users.insert(user);
Related packages #
| Package | Description |
|---|---|
| phorm_sqlite | ✅ Stable SQLite driver |
| phorm | Core engine (included automatically) |
License #
MIT © 2024–2026 PHORM Contributors
