Skip to main content

SingleRowInsertValues

Trait SingleRowInsertValues 

Source
pub trait SingleRowInsertValues<Tab> { }
Available on crate features mariadb_backend or mysql_backend only.
Expand description

Insert values that produce exactly one row: a single record’s values, default_values, or an upsert wrapping either. Batch inserts and INSERT ... SELECT do not qualify.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<V, Tab> SingleRowInsertValues<Tab> for ValuesClause<V, Tab>