Type Alias SqlConnection

Source
pub type SqlConnection = SqlConnection<MySql, RawErrorToSqlError>;

Aliased Type§

struct SqlConnection { /* private fields */ }

Implementations§

Source§

impl SqlConnection

Source

pub async fn open(uri: &str) -> SqlResult<Self>

Source

pub async fn is_column_exist( &mut self, table_name: &str, column_name: &str, db_name: Option<&str>, ) -> SqlResult<bool>

Source

pub async fn is_index_exist( &mut self, table_name: &str, index_name: &str, db_name: Option<&str>, ) -> SqlResult<bool>