pub struct QueryEngine { /* private fields */ }Expand description
Query engine for executing SQL statements.
Implementations§
Source§impl QueryEngine
impl QueryEngine
pub fn new() -> Self
Sourcepub fn execute(&self, sql: &str) -> Result<QueryResult, QueryError>
pub fn execute(&self, sql: &str) -> Result<QueryResult, QueryError>
Execute a SQL query.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for QueryEngine
impl !RefUnwindSafe for QueryEngine
impl Send for QueryEngine
impl Sync for QueryEngine
impl Unpin for QueryEngine
impl UnwindSafe for QueryEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more