pub trait HasTargetTable {
// Required method
fn target_table_mut(&mut self) -> &mut TableRef;
}Expand description
A statement whose target table is separate from its from-item: the table an
UPDATE writes to, or the one a DELETE removes from.
SELECT and INSERT have only one table each and use
HasTableRef for it, so they do not
implement this — which is precisely why update::table(..) cannot be applied to
them.
Required Methods§
Sourcefn target_table_mut(&mut self) -> &mut TableRef
fn target_table_mut(&mut self) -> &mut TableRef
The target table to modify.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".