[−][src]Trait debil::SQLConn
Associated Types
type Error: HasNotFound
Required methods
fn sql_exec<'life0, 'async_trait>(
&'life0 mut self,
query: String,
params: Params<V>
) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
query: String,
params: Params<V>
) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn sql_query<'life0, 'async_trait, T: SQLMapper<ValueType = V> + Sync + Send>(
&'life0 mut self,
query: String,
params: Params<V>
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
query: String,
params: Params<V>
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn sql_batch_exec<'life0, 'async_trait>(
&'life0 mut self,
query: String,
params: Vec<Params<V>>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
query: String,
params: Vec<Params<V>>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provided methods
fn create_table<'life0, 'async_trait, T: SQLTable<ValueType = V> + Sync + Send>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
fn save<'life0, 'async_trait, T: SQLTable<ValueType = V> + Sync + Send>(
&'life0 mut self,
data: T
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
data: T
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
fn load_with2<'life0, 'async_trait, T: SQLTable, U: SQLMapper<ValueType = V> + Sync + Send>(
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<U>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
U: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<U>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
U: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
fn load_with<'life0, 'async_trait, T: SQLTable<ValueType = V> + Sync + Send>(
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
fn first_with<'life0, 'async_trait, T: SQLTable<ValueType = V> + Sync + Send>(
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
fn load<'life0, 'async_trait, T: SQLTable<ValueType = V> + Sync + Send>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
fn first<'life0, 'async_trait, T: SQLTable<ValueType = V> + Sync + Send>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: Send + 'async_trait,