Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PGXConn ¶
type PGXConn interface { pgxtype.Querier driver.Pinger // QueryFunc executes sql with args. For each row returned by the query the values will scanned into the elements of // scans and f will be called. If any row fails to scan or f returns an error the query will be aborted and the error // will be returned. QueryFunc(ctx context.Context, sql string, args []interface{}, scans []interface{}, f func(pgx.QueryFuncRow) error) (pgconn.CommandTag, error) // SendBatch sends all queued queries to the server at once. All queries are run in an implicit transaction unless // explicit transaction control statements are executed. The returned BatchResults must be closed before the connection // is used again. SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults // Close closes a connection. It is safe to call Close on a already closed // connection. Close(ctx context.Context) error }
PGXConn contains all public methods included by *pgx.Conn as an attempt to make the instrumentation transparent for the user.
Click to show internal directories.
Click to hide internal directories.