pgator.db.connection

Medium sized wrapper around PostgreSQL connection.

Members

Classes

ConnectException
class ConnectException

The exception is thrown when connection attempt to SQL server is failed due some reason.

QueryException
class QueryException

The exception is thrown when query is failed due some reason.

ReconnectException
class ReconnectException

The exception is thrown when reconnect method is called, but there wasn't any call of connect method to grab connection string from.

Enums

ConnectionStatus
enum ConnectionStatus

Describes result of connection status polling.

QueringStatus
enum QueringStatus

Describes result of quering status polling.

TimestampFormat
enum TimestampFormat

Enum describes two possible server configuration for timestamp format.

Interfaces

IConnection
interface IConnection

Handles a single connection to a SQL server.

IConnectionProvider
interface IConnectionProvider

Interface that produces connection objects. Used to isolate connection pool from particular connection realization.

Structs

DateFormat
struct DateFormat

Representing server configuration for displaying dates and converting ambitious values.

Meta

Authors

NCrashed <ncrashed@gmail.com>

License

Subject to the terms of the MIT license, as written in the included LICENSE file.