Example #1
0
def dbtable_to_file():
    """
    CN: 更新mongodb的collections基本信息到json文件中保存
    EN: Update the basic collections information of mongodb and save it in the json file
    """
    mdbs = temp_init_mdb()
    update_mdbcolls_json_file(mdbs=mdbs)
Example #2
0
def dbcoll_to_file():
    """
    更新mdb collections到json文件中
    :return:
    """
    update_mdbcolls_json_file(mdbs=mdbs)