Skip to main content

diesel/mariadb/returning/
mod.rs

1//! Mariadb-specific `RETURNING` clause helpers.
2//!
3//! This module exposes [`old_value()`], the wrapper used to refer to the
4//! pre-modification value of a column in a Mariadb `UPDATE ... RETURNING` clause —
5//! the `RETURNING OLD_VALUE(col)` syntax introduced in Mariadb 13.0.
6
7mod old_impl;
8
9pub use self::old_impl::old_value;