Пример #1
0
 def deleteunassignedResults():
     db = DB()
     DB_Studies.deleteunassignedResults(db.cursor)
     db.DBDisconnect()
Пример #2
0
 def updateStudy(studies_name, studies_comment, studies_se, studies_id):
     db = DB()
     DB_Studies.updateStudy(db.cursor, studies_name, studies_comment,
                            studies_se, studies_id)
     db.DBDisconnect()
Пример #3
0
 def deleteStudy(study_id):
     db = DB()
     DB_Studies.deleteStudy(db.cursor, study_id)
     db.DBDisconnect()
Пример #4
0
 def insertStudy(study_name, study_description, today, study_se):
     db = DB()
     DB_Studies.insertStudy(db.cursor, study_name, study_description, today,
                            study_se)
     db.DBDisconnect()
Пример #5
0
 def getStudybyNamenotID(study_name, study_id):
     db = DB()
     rows = DB_Studies.getStudybyNamenotID(db.cursor, study_name, study_id)
     db.DBDisconnect()
     return rows
Пример #6
0
 def getStudybyName(study_name):
     db = DB()
     rows = DB_Studies.getStudybyName(db.cursor, study_name)
     db.DBDisconnect()
     return rows
Пример #7
0
 def getStudy(study_id):
     db = DB()
     rows = DB_Studies.getStudy(db.cursor, study_id)
     db.DBDisconnect()
     return rows
Пример #8
0
 def getStudiesScraper():
     db = DB()
     rows = DB_Studies.getStudiesScraper(db.cursor)
     db.DBDisconnect()
     return rows