Trait rust_query::client::QueryBuilder

source ·
pub trait QueryBuilder {
    // Required method
    fn new_query<'s, F, R>(&'s self, f: F) -> R
       where F: for<'a> FnOnce(&'a mut Exec<'s, 'a>) -> R;
}
Expand description

Extension trait to use this library with rusqlite::Connection directly.

Required Methods§

source

fn new_query<'s, F, R>(&'s self, f: F) -> R
where F: for<'a> FnOnce(&'a mut Exec<'s, 'a>) -> R,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl QueryBuilder for Connection

source§

fn new_query<'s, F, R>(&'s self, f: F) -> R
where F: for<'a> FnOnce(&'a mut Exec<'s, 'a>) -> R,

Implementors§