Merge pull request #237 from oldwain/dev

fix ClientEngine.dbQuery without return
This commit is contained in:
vn.py 2017-02-28 11:22:55 +08:00 committed by GitHub
commit 3784c78140

View File

@ -120,7 +120,7 @@ class ClientEngine(object):
#---------------------------------------------------------------------- #----------------------------------------------------------------------
def dbQuery(self, dbName, collectionName, d): def dbQuery(self, dbName, collectionName, d):
"""从MongoDB中读取数据d是查询要求返回的是数据库查询的数据列表""" """从MongoDB中读取数据d是查询要求返回的是数据库查询的数据列表"""
self.client.dbQuery(dbName, collectionName, d) return self.client.dbQuery(dbName, collectionName, d)
#---------------------------------------------------------------------- #----------------------------------------------------------------------
def dbUpdate(self, dbName, collectionName, d, flt, upsert=False): def dbUpdate(self, dbName, collectionName, d, flt, upsert=False):