Function pgbatis::transaction_delete_and_save

source ·
pub async fn transaction_delete_and_save<T, V>(
    delete_column: &'static str,
    delete_value: &V,
    p: Vec<T>,
    prefix: Option<String>,
    suffix: Option<String>
) -> Result<u64, Error>
where T: Parameters, V: ToSql + Sync,
Expand description

事务新增 用于按指定ID批量删除,然后批量新增