PGSQLConnection

version(USE_PGSQL)
class PGSQLConnection : Connection {}

Members

Functions

setCatalog
void setCatalog(string catalog)

Sets the given catalog name in order to select a subspace of this Connection object's database in which to work.

Inherited Members

From Connection

close
void close()

Releases this Connection object's database and JDBC resources immediately instead of waiting for them to be automatically released.

commit
void commit()

Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this Connection object.

getCatalog
string getCatalog()

Retrieves this Connection object's current catalog name.

setCatalog
void setCatalog(string catalog)

Sets the given catalog name in order to select a subspace of this Connection object's database in which to work.

isClosed
bool isClosed()

Retrieves whether this Connection object has been closed.

rollback
void rollback()

Undoes all changes made in the current transaction and releases any database locks currently held by this Connection object.

getAutoCommit
bool getAutoCommit()

Retrieves the current auto-commit mode for this Connection object.

setAutoCommit
void setAutoCommit(bool autoCommit)

Sets this connection's auto-commit mode to the given state.

createStatement
Statement createStatement()

Creates a Statement object for sending SQL statements to the database.

prepareStatement
PreparedStatement prepareStatement(string query)

Creates a PreparedStatement object for sending parameterized SQL statements to the database.

Meta