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

Method Config

conn.go:468–468  ·  view source on GitHub ↗

Config returns a copy of config that was used to establish this connection.

()

Source from the content-addressed store, hash-verified

466
467// Config returns a copy of config that was used to establish this connection.
468func (c *Conn) Config() *ConnConfig { return c.config.Copy() }
469
470// Exec executes sql. sql can be either a prepared statement name or an SQL string. arguments should be referenced
471// positionally from the sql string as $1, $2, etc.

Callers 2

TestCrateDBConnectFunction · 0.45
TestConnectFunction · 0.45

Calls 1

CopyMethod · 0.45

Tested by 2

TestCrateDBConnectFunction · 0.36
TestConnectFunction · 0.36