def get_MongojoinTwwo(): db = mongo_database() def db_query(): return db.joinTwo() res = db_query() return json_response(result=res)
def get_MongoCount(): db = mongo_database() def db_query(): return db.count() res = db_query() return json_response(result=res)
def get_MongoUpadeOne(): db = mongo_database() def db_query(): return db.updateOne() res = db_query() return json_response(result=res)
def get_MongoDeleteMore(): db = mongo_database() def db_query(): return db.deleteMore() res = db_query() return json_response(result=res)
def get_MongoFindAll(): db = mongo_database() def db_query(): return db.findAll() res = db_query() return json_response(result=res)