phorm_postgres 1.2.0 copy "phorm_postgres: ^1.2.0" to clipboard
phorm_postgres: ^1.2.0 copied to clipboard

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

example/main.dart

// Examples print to the console for illustration only.
// ignore_for_file: avoid_print

import 'package:phorm_postgres/phorm_postgres.dart';

// NOTE: the PostgreSQL driver is a work in progress and not yet functional.
// This example only demonstrates the dialect's SQL compilation rules.
void main() {
  final dialect = PostgresDialect();

  print('Escaped identifier: ${dialect.escapeIdentifier('users.id')}');
  print('Placeholder:        ${dialect.compilePlaceholder(1)}');
}
2
likes
160
points
440
downloads
screenshot

Documentation

API reference

Publisher

verified publisherinterlib.dev

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

meta, phorm

More

Packages that depend on phorm_postgres