fix ClientEngine.dbQuery without return

This commit is contained in:
oldwain 2017-02-27 16:14:46 +08:00
parent 2173f3ae92
commit b358bd3564

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):