galileo_orm_postgres 3.0.0
galileo_orm_postgres: ^3.0.0 copied to clipboard
PostgreSQL support for galileo's ORM. Includes functionality for querying and transactions.
example/main.dart
import 'dart:io';
import 'package:galileo_orm_postgres/galileo_orm_postgres.dart';
import 'package:galileo_postgres/galileo_postgres.dart';
main() async {
var executor = new PostgreSqlExecutorPool(Platform.numberOfProcessors, () {
return new PostgreSQLConnection('localhost', 5432, 'galileo_orm_test');
});
var rows = await executor.query('users', 'SELECT * FROM users', {});
print(rows);
}