Skip to main content

Module values

Module values 

Source
Expand description

Values bound to and read from PostgreSQL queries.

PostgresValue is a single parameter or column value; OwnedPostgresValue is its owned form. PostgresInsertValue and PostgresUpdateValue are the field types of the generated insert and update models.

Enumsยง

OwnedPostgresValue
A PostgresValue that owns its data, so it has no lifetime.
PostgresInsertValue
One column of a row in an INSERT: omitted, NULL, or a value or SQL expression.
PostgresUpdateValue
One column in an UPDATE ... SET: skipped, NULL, or a value or SQL expression.
PostgresValue
One PostgreSQL value, borrowed for 'a: a bound parameter or a decoded column.