def deleteunassignedResults(): db = DB() DB_Studies.deleteunassignedResults(db.cursor) db.DBDisconnect()
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()
def deleteStudy(study_id): db = DB() DB_Studies.deleteStudy(db.cursor, study_id) db.DBDisconnect()
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()
def getStudybyNamenotID(study_name, study_id): db = DB() rows = DB_Studies.getStudybyNamenotID(db.cursor, study_name, study_id) db.DBDisconnect() return rows
def getStudybyName(study_name): db = DB() rows = DB_Studies.getStudybyName(db.cursor, study_name) db.DBDisconnect() return rows
def getStudy(study_id): db = DB() rows = DB_Studies.getStudy(db.cursor, study_id) db.DBDisconnect() return rows
def getStudiesScraper(): db = DB() rows = DB_Studies.getStudiesScraper(db.cursor) db.DBDisconnect() return rows