github.com/jackc/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 at nearly the same level is the C library libpq. Use Connect to establish a connection. It accepts a connection string in URL or DSN and will read the environment for libpq style environment variables. ExecParams and ExecPrepared execute a single query. They return readers that iterate over each row. The Read method reads all rows into memory. Exec and ExecBatch can execute multiple queries in a single round trip. They return readers that iterate over each query result. The ReadAll method reads all query results into memory. All potentially blocking operations take a context.Context. If a context is canceled while the method is in progress the method 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 the client to abort.
proxy.golang.org
v1.14.3
about 2 years ago
31
6,989
18,196
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/jackc/pgconn
spec |
| License | MIT |
| Namespace | github.com/jackc |
| First Release | over 6 years ago |
| Last Synced | about 11 hours ago |
Repository
| Stars | 192 on GitHub |
| Forks | 87 on GitHub |
| Docker Dependents | 2,209 |
| Docker Downloads | 3,225,865,794 |