[][src]Trait rsfbclient::Execute

pub trait Execute {
    fn execute<P>(&mut self, sql: &str, params: P) -> Result<(), FbError>
    where
        P: IntoParams
; }

Implemented for types that can be used to execute sql statements

Required methods

fn execute<P>(&mut self, sql: &str, params: P) -> Result<(), FbError> where
    P: IntoParams

Execute a query, may or may not commit the changes

Use () for no parameters or a tuple of parameters

Loading content...

Implementors

impl<C> Execute for Connection<C> where
    C: FirebirdClient
[src]

fn execute<P>(&mut self, sql: &str, params: P) -> Result<(), FbError> where
    P: IntoParams
[src]

Prepare, execute and commit the sql query

Use () for no parameters or a tuple of parameters

impl<C, '_> Execute for Transaction<'_, C> where
    C: FirebirdClient
[src]

fn execute<P>(&mut self, sql: &str, params: P) -> Result<(), FbError> where
    P: IntoParams
[src]

Prepare and execute the sql query

Use () for no parameters or a tuple of parameters

Loading content...