API Collection
Running Queries
Interact with the PostgreSQL database by running Queries.
Overview
You interact with the Postgres database by running SQL Queries.
PostgresQuery conforms to
Topics
struct PostgresQueryA Postgres SQL query that can be executed on a Postgres server. Contains the raw SQL string and bindings.struct PostgresBindingsstruct PostgresRowPostgresRowrepresents a single table row that is received from the server for a query or a prepared statement. Its element type isPostgresCell.struct PostgresRowSequenceAn async sequence ofPostgresRows.struct PostgresColumnsA collection ofPostgresColumncolumn metadata for a PostgreSQL query result.struct PostgresColumnMetadata for a single column in a PostgreSQL query result.struct PostgresRandomAccessRowA random access row ofPostgresCells. Its initialization is O(n), where n is the number of columns in the row. All subsequent cell accesses are O(1).struct PostgresCellA representation of a cell value within aPostgresRowandPostgresRandomAccessRow.struct PostgresQueryMetadata
See Also
Essentials
class PostgresClientA Postgres client that is backed by an underlying connection pool. UsePostgresClient.Configurationto change the client’s behavior.struct Configurationclass PostgresConnectionA Postgres connection. Use it to run queries against a Postgres server.