Trait sqlness::Database

source ·
pub trait Database {
    fn query<'life0, 'async_trait>(
        &'life0 self,
        query: String
    ) -> Pin<Box<dyn Future<Output = Box<dyn Display>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

Query executor.

Runner will call EnvController::start to create database to execute query.

Required Methods§

Implementors§