MCPcopy
hub / github.com/jackc/pgx / IsBusy

Method IsBusy

pgconn/pgconn.go:816–818  ·  view source on GitHub ↗

IsBusy reports if the connection is busy.

()

Source from the content-addressed store, hash-verified

814
815// IsBusy reports if the connection is busy.
816func (pgConn *PgConn) IsBusy() bool {
817 return pgConn.status == connStatusBusy
818}
819
820// lock locks the connection.
821func (pgConn *PgConn) lock() error {

Callers 1

ReleaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected