PgConnectionImpl

Constructors

this
this(PgConnectionFactory factory, DbConnection conn)
Undocumented in source.

Members

Functions

cancelRequest
PgConnection cancelRequest(hunt.database.base.Common.VoidHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
escapeIdentifier
string escapeIdentifier(string identifier)
Undocumented in source. Be warned that the author may not have intended to support it.
escapeLiteral
string escapeLiteral(string literal)
Undocumented in source. Be warned that the author may not have intended to support it.
handleNotification
void handleNotification(int processId, string channel, string payload)
Undocumented in source. Be warned that the author may not have intended to support it.
notificationHandler
PgConnection notificationHandler(PgNotificationHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
prepareNamedQuery
NamedQuery prepareNamedQuery(string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
prepareNamedQueryAsync
Future!NamedQuery prepareNamedQueryAsync(string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
preparedBatch
PgConnectionImpl preparedBatch(string sql, List!(Tuple) batch, RowSetHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
preparedQuery
PgConnectionImpl preparedQuery(string sql, RowSetHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
preparedQuery
PgConnectionImpl preparedQuery(string sql, Tuple arguments, RowSetHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
processId
int processId()
Undocumented in source. Be warned that the author may not have intended to support it.
query
PgConnectionImpl query(string sql, RowSetHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
secretKey
int secretKey()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

connect
void connect(PgConnectOptions options, AsyncResultHandler!(PgConnection) handler)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From PgConnection

notificationHandler
PgConnection notificationHandler(PgNotificationHandler handler)

Set an handler called when the connection receives notification on a channel. <p/> The handler is called with the {@link PgNotification} and has access to the channel name and the notification payload.

cancelRequest
PgConnection cancelRequest(VoidHandler handler)

Send a request cancellation message to tell the server to cancel processing request in this connection. <br>Note: Use this with caution because the cancellation signal may or may not have any effect.

processId
int processId()

@return The process ID of the target backend

secretKey
int secretKey()

@return The secret key for the target backend

Meta