pub fn delete<T>(&self, filter: &Filter) -> Result<usize,DbError> 
        where T:IsTable{
        let table_name = T::table_name();
        let mut query = Delete::from(&table_name);
        query.add_filter(filter);
        query.execute(self.db)
    }
/// delete records of the table that passes the provided filter
delete records of the table that passes the provided filter
delete records of the table that passes the provided filter
pub fn delete<T>(&self, filter: &Filter) -> Result<usize,DbError> 
        where T:IsTable{
        let table_name = T::table_name();
        let mut query = Delete::from(&table_name);
        query.add_filter(filter);
        query.execute(self.db)
    }
pub fn delete < T > ( & self , filter : & Filter ) -> Result < usize , DbError > where T : IsTable { let table_name = T :: table_name ( ) ; let mut query = Delete :: from ( & table_name ) ; query . add_filter ( filter ) ; query . execute ( self . db ) }
delete records of the table that passes the provided filter
delete records of the table that passes the provided filter
&self
filter
&Filter
&self
filter
&Filter