Module postgres

Source

Structsยง

PgClient
PgExecutorFactory
PgSqlTemplateFactory ๐Ÿ”’
Factory for building sql templates.
PgSqlTemplateSet
Templates for the given table name.
PgTxnClient
RangeTemplate ๐Ÿ”’
Templates for range request.

Enumsยง

RangeTemplateType ๐Ÿ”’
Type of range template.

Constantsยง

EMPTY ๐Ÿ”’
PG_STORE_NAME ๐Ÿ”’

Functionsยง

is_prefix_range ๐Ÿ”’
key_value_from_row ๐Ÿ”’
Converts a row to a KeyValue.
pg_generate_in_placeholders ๐Ÿ”’
Generate in placeholders for PostgreSQL.
range_template ๐Ÿ”’
Determine the template type for range request.

Type Aliasesยง

PgStore
A PostgreSQL-backed key-value store for metasrv. It uses [deadpool_postgres::Pool] as the connection pool for RdsStore.