PGConnection

Class representing connection to PostgreSQL server.

Constructors

this
this(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)
executeScalar
T executeScalar(string query, bool throwIfMoreRows)

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

reloadAllTypes
void reloadAllTypes()
Undocumented in source. Be warned that the author may not have intended to support it.
reloadArrayTypes
void reloadArrayTypes()
Undocumented in source. Be warned that the author may not have intended to support it.
reloadCompositeTypes
void reloadCompositeTypes()
Undocumented in source. Be warned that the author may not have intended to support it.
reloadEnumTypes
void reloadEnumTypes()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta