postgresql library

Classes

ClientMessage
An error or warning generated by the client.
Column
Connection
A connection to a PostgreSQL database.
ConnectionState
The current state of a connection.
Isolation
See http://www.postgresql.org/docs/9.3/static/transaction-iso.html
Message
The server can send errors and notices, or the network can cause errors while the connection is not being used to make a query. See ClientMessage and ServerMessage for more information.
Row
Row allows field values to be retrieved as if they were getters. [...]
ServerMessage
Represents an error or a notice sent from the postgresql server.
Settings
Settings can be used to create a postgresql uri for use in the connect function. [...]
TransactionState
Describes whether the a connection is participating in a transaction, and if the transaction has failed.
TypeConverter
By implementing this class and passing it to connect(), it is possible to provide a customised handling of the Dart type encoding and PostgreSQL type decoding.

Constants

READ_COMMITTED → const Isolation
Isolation.readCommitted
REPEATABLE_READ → const Isolation
Isolation.repeatableRead
SERIALIZABLE → const Isolation
Isolation.serializable
TRANSACTION_BEGUN → const TransactionState
TransactionState.begun
TRANSACTION_ERROR → const TransactionState
TransactionState.error
TRANSACTION_NONE → const TransactionState
TransactionState.none
TRANSACTION_UNKNOWN → const TransactionState
TransactionState.unknown

Functions

connect(String uri, { Duration connectionTimeout, String applicationName, String timeZone, TypeConverter typeConverter, String debugName }) → Future<Connection>
Connect to a PostgreSQL database. [...]
encodeString(String s, { bool trimNull: false }) → String

Exceptions / Errors

PostgresqlException