Example #1
0
 def delete(self, id_):
     session_ = session.query(Sessions).filter(Sessions.id == id_).first()
     session.delete(session_)
     session.commit()
Example #2
0
 def delete(self, id_):
     lending = session.query(Lending).filter(Lending.id == id_).first()
     session.delete(lending)
     session.commit()
Example #3
0
 def delete(self, id_):
     book = session.query(Books).filter(Books.id == id_).first()
     session.delete(book)
     session.commit()
Example #4
0
 def delete(self, id_):
     user = session.query(Users).filter(Users.id == id_).first()
     session.delete(user)
     session.commit()
Example #5
0
 def delete(self, id_):
     thesis = session.query(Thesis).filter(Thesis.id == id_).first()
     session.delete(thesis)
     session.commit()