pub trait Insert:
Sync
+ Send
+ 'static {
type Row: Send + Sync;
// Required method
fn insert_to_table<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
checked_table_name: &'life1 str,
row: &'life2 Self::Row,
) -> Pin<Box<dyn Future<Output = Result<u64, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}
Expand description
Tries to insert a row to a table.