) -> Result<UpdateResult, DbErr>
where C: ConnectionTrait {
    Updater::new(query).exec(db).await
}

async fn exec_update_and_return_original<A, C>(
    query: UpdateStatement,
    model: A,
    db: &C,
) -> Result<A, DbErr>
where
    A: ActiveModelTrait,
    C: ConnectionTrait,
{