def retc(User, doc): g = str(lstc(User, doc)) g = str(sub("}", "", g)) g = str(sub("{", "", g)) g = str(sub(' "_id" :', "", g)) return g
def qdb(opt, arg): opt = str(opt) arg = str(arg) g = str(idc(kdb, opt, arg)) h = str(lstc(kdb, g)) return h