angel_orm_postgres 1.0.0 copy "angel_orm_postgres: ^1.0.0" to clipboard
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
40
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

angel_orm, logging, pool, postgres

More

Packages that depend on angel_orm_postgres