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

Method ConnString

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

ConnString returns the connection string as parsed by pgx.ParseConfig into pgx.ConnConfig.

()

Source from the content-addressed store, hash-verified

61
62// ConnString returns the connection string as parsed by pgx.ParseConfig into pgx.ConnConfig.
63func (cc *ConnConfig) ConnString() string { return cc.connString }
64
65// Conn is a PostgreSQL connection handle. It is not safe for concurrent usage. Use a connection pool to manage access
66// to multiple database connections from multiple goroutines.

Callers 5

TestCrateDBConnectFunction · 0.45
assertConfigsEqualFunction · 0.45
TestLogAcquireFunction · 0.45
TestLogReleaseFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestCrateDBConnectFunction · 0.36
assertConfigsEqualFunction · 0.36
TestLogAcquireFunction · 0.36
TestLogReleaseFunction · 0.36