Skip to main content

Module returning

Module returning 

Source
Available on crate feature postgres_backend only.
Expand description

PostgreSQL-specific RETURNING clause helpers.

This module exposes old(), the wrapper used to refer to the pre-modification value of a column in a PostgreSQL RETURNING clause — the RETURNING old.col syntax introduced in PostgreSQL 18.

Functions§

old
Refer to the pre-modification value of col in a PostgreSQL RETURNING clause.

Type Aliases§

old
The return type of old(col).