Skip to main content

SqlExecutor

Trait SqlExecutor 

Source
pub trait SqlExecutor {
    // Required method
    fn exec(&mut self, sql: &str, params: &[Value]) -> Result<()>;
}

Required Methods§

Source

fn exec(&mut self, sql: &str, params: &[Value]) -> Result<()>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§