Skip to content
Search
DSL ยท Pg query

pgsql_client

Definition

/**
 * Create a PostgreSQL client using ext-pgsql.
 *
 * The client connects immediately and is ready to execute queries.
 *
 * @param Client\ConnectionParameters $params Connection parameters
 * @param null|ValueConverters $valueConverters Custom type converters (optional)
 * @param null|Context $context Base mapper Context โ€” the Client enriches it with sql/parameters/self per query before handing it to RowMapper::map()
 *
 * @throws ConnectionException If connection fails
 */
pgsql_client(ConnectionParameters $params, ?ValueConverters $valueConverters, ?Context $context) : Client

Contributors

Built in the open.

Join us on GitHub
scroll back to top