def remove_projects(projects): project_db = DBConnection('projects') project_db.delete_all(projects, 'projectId') return {'projects': project_db.find()}
def remove_technologies(skills): techDb = DBConnection('technologies') techDb.delete_all(skills, 'techId') return {'technologies': []}