PGConnection

Class representing connection to PostgreSQL server.

Constructors

this
this(const string[string] params)

Opens connection to server.

Members

Functions

close
void close()

Closes current connection to the server.

executeNonQuery
ulong executeNonQuery(string query)
executeQuery
PGResultSet!Specs executeQuery(string query)
executeRow
DBRow!Specs executeRow(string query, bool throwIfMoreRows = true)
executeScalar
T executeScalar(string query, bool throwIfMoreRows = true)

Shorthand methods using temporary PGCommand. Semantics is the same as PGCommand's.

Meta