from mongoengine import connect, disconnect connect('a_db', alias='db1') # ==》 建立别名为“db1”的连接 class User(Document): name ...
確定! 回上一頁