angel_orm_postgres 1.0.0
angel_orm_postgres: ^1.0.0 copied to clipboard

PostgreSQL support for Angel's ORM. Includes functionality for querying and transactions.

example/main.dart

import 'dart:io';
import 'package:angel_orm_postgres/angel_orm_postgres.dart';
import 'package:postgres/postgres.dart';

main() async {
  var executor = new PostgreSqlExecutorPool(Platform.numberOfProcessors, () {
    return new PostgreSQLConnection('localhost', 5432, 'angel_orm_test');
  });

  var rows = await executor.query('users', 'SELECT * FROM users', {});
  print(rows);
}
0
likes
80
pub points
55%
popularity

PostgreSQL support for Angel's ORM. Includes functionality for querying and transactions.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

thosakwe@gmail.com

License

MIT (LICENSE)

Dependencies

angel_orm, logging, pool, postgres

More

Packages that depend on angel_orm_postgres