Constant iqps_backend::db::queries::SOFT_DELETE_BY_ID

source ยท
pub const SOFT_DELETE_BY_ID: &str = "UPDATE iqps SET approve_status=false, is_deleted = true WHERE id=$1 AND from_library = false";
Expand description

Soft deletes a paper (sets approve_status to false and is_deleted to true) of an uploaded paper.