async fn update_batch_by_id<T>(&self, context_id: &str, args: &mut [T]) -> Result<u64>
    where
        T: CRUDTable,
    {
        let mut updates = 0;
        for x in args {
            updates += self.update_by_id(context_id, x).await?
        }
        Ok(updates)
    }
/// remove batch database record by args
remove batch database record by args
remove batch database record by args
async fn update_batch_by_id<T>(&self, context_id: &str, args: &mut [T]) -> Result<u64>
    where
        T: CRUDTable,
    {
        let mut updates = 0;
        for x in args {
            updates += self.update_by_id(context_id, x).await?
        }
        Ok(updates)
    }
async fn update_batch_by_id < T > ( & self , context_id : & str , args : & mut [ T ] ) -> Result < u64 > where T : CRUDTable , { let mut updates = 0 ; for x in args { updates += self . update_by_id ( context_id , x ) . await ? } Ok ( updates ) }
remove batch database record by args
remove batch database record by args
&self
context_id
&str
args
&mut [T]
&self
context_id
&str
args
&mut [T]