Source File
	doc.go
Belonging Package
	github.com/jackc/pgx/v5/pgconn
// Package pgconn is a low-level PostgreSQL database driver./*pgconn provides lower level access to a PostgreSQL connection than a database/sql or pgx connection. It operates atnearly the same level is the C library libpq.Establishing a ConnectionUse Connect to establish a connection. It accepts a connection string in URL or DSN and will read the environment forlibpq style environment variables.Executing a QueryExecParams and ExecPrepared execute a single query. They return readers that iterate over each row. The Read methodreads all rows into memory.Executing Multiple Queries in a Single Round TripExec and ExecBatch can execute multiple queries in a single round trip. They return readers that iterate over each queryresult. The ReadAll method reads all query results into memory.Pipeline ModePipeline mode allows sending queries without having read the results of previously sent queries. It allowscontrol of exactly how many and when network round trips occur.Context SupportAll potentially blocking operations take a context.Context. If a context is canceled while the method is in progress themethod immediately returns. In most circumstances, this will close the underlying connection.The CancelRequest method may be used to request the PostgreSQL server cancel an in-progress query without forcing theclient to abort.*/package pgconn
|  | The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |