pub async fn update_entity<E: Entity>(
db: &impl GenericClient,
before_entity: &E,
after_entity: &E,
) -> QueryResult<()>pub async fn update_entity<E: Entity>(
db: &impl GenericClient,
before_entity: &E,
after_entity: &E,
) -> QueryResult<()>