Trait sqllogictest::runner::DB
source · pub trait DB {
type Error: Error + Send + Sync + 'static;
type ColumnType: ColumnType;
// Required method
fn run(
&mut self,
sql: &str
) -> Result<DBOutput<Self::ColumnType>, Self::Error>;
// Provided method
fn engine_name(&self) -> &str { ... }
}
Expand description
The database to be tested.
Required Associated Types§
sourcetype ColumnType: ColumnType
type ColumnType: ColumnType
The type of result columns
Required Methods§
Provided Methods§
sourcefn engine_name(&self) -> &str
fn engine_name(&self) -> &str
Engine name of current database.