phorm_postgres 0.0.3
phorm_postgres: ^0.0.3 copied to clipboard
PostgreSQL driver for the PHORM. Provides a PhormDatabase implementation backed by PostgreSQL, including connection pooling, dialect support, and async query execution.
PHORM PostgreSQL 🚀 #
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 PostgreSQL driver for the PHORM ORM — a lightweight, type-safe, driver-agnostic ORM for Dart and Flutter.
Roadmap #
- ❌ PostgreSQL dialect (
SqlDialectimplementation) - ❌ Connection pool management
- ❌ Async query executor
- ❌ Migration support
- ❌ Flutter & Dart server support
Usage (planned) #
import 'package:phorm_postgres/phorm_postgres.dart';
final db = PhormPostgresDatabase(
host: 'localhost',
port: 5432,
database: 'mydb',
username: 'postgres',
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
