def del_brand_by_id(id): query = session.query(Brand) brand = query.get(id) session.delete(brand) session.commit()
def del_prostatus_by_id(id): query = session.query(Pro_status) pro_type = query.get(id) session.delete(pro_type) session.commit()
def del_series_by_id(id): query = session.query(Series) series = query.get(id) session.delete(series) session.commit()
def del_role_by_id(id): query = session.query(User_role) role = query.get(id) session.delete(role) session.commit()
def del_note_by_id(id): query = session.query(Note) note = query.get(id) session.delete(note) session.commit()
def del_status_by_id(id): query = session.query(Overall_Status) status = query.get(id) session.delete(status) session.commit()
def del_type_by_id(id): query = session.query(Launch_Type) type = query.get(id) session.delete(type) session.commit()
def del_Activity_by_id(id): query = session.query(Activity) Activity = query.get(id) session.delete(Activity) session.commit()