postgres 0.9.0 postgres: ^0.9.0 copied to clipboard
A library to connect and query PostgreSQL databases.
postgres #
A library for connecting to and querying PostgreSQL databases.
This driver uses the more efficient and secure extended query format of the PostgreSQL protocol.
Usage #
Create PostgreSQLConnection
s and open
them:
var connection = new PostgreSQLConnection("localhost", 5432, "dart_test", username: "dart", password: "dart");
await connection.open();
Execute queries with query
:
var results = await connection.query("SELECT a, b FROM table WHERE a = @aValue", substitutionValues: {
"aValue" : 3
});
See the API documentation: https://www.dartdocs.org/documentation/postgres/latest.
Features and bugs #
Please file feature requests and bugs at the issue tracker.