API reference¶
Everything documented here is importable from gres; exception classes live in gres.errors. Names beginning with an underscore are private.
| Page | Use it for |
|---|---|
| Connections and pools | Open a Connection or Pool, read PoolStats, and supply credentials through provider callbacks. |
| Queries and results | The Executor methods shared by connections, pools, and transactions; Transaction, PreparedStatement, result objects, and notifications. |
| SQL composition | Build statements from Query, Identifier, Literal, and the composition helpers. |
| Types and adapters | PostgreSQL value types, ranges, arrays, vectors, and the Decoding, Codec, and Adapter controls. |
| PostGIS | EwkbGeometry, EwkbGeography, and SpatialParameter. |
| Errors | The gres.errors exception hierarchy. |