phorm_mysql 1.2.0 copy "phorm_mysql: ^1.2.0" to clipboard
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 🚀 #

Pub Version Build Status GitHub Stars License: MIT Dart SDK

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 (SqlDialect implementation)
  • ❌ 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);
Package Description
phorm_sqlite ✅ Stable SQLite driver
phorm Core engine (included automatically)

License #

MIT © 2024–2026 PHORM Contributors

1
likes
160
points
435
downloads
screenshot

Documentation

API reference

Publisher

verified publisherinterlib.dev

Weekly Downloads

MySQL driver for the PHORM. Provides a PhormDatabase implementation backed by MySQL, including connection management, dialect support, and async query execution.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

meta, phorm

More

Packages that depend on phorm_mysql