Merge pull request #237 from oldwain/dev
fix ClientEngine.dbQuery without return
This commit is contained in:
commit
3784c78140
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user