pub trait Connection:
Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn query(
&self,
query: String,
params: Vec<DataType>,
) -> FutureResult<Vec<Row>>;
fn exec(&self, query: String, params: Vec<DataType>) -> FutureResult<u32>;
}Expand description
SQL providers implement the Connection trait to allow the host to
connect to a backend (Azure Table Storage, Postgres, etc) and execute SQL
statements.