bugfix
This commit is contained in:
parent
777b15e5f8
commit
d488a5957c
11
sqlor/sor.py
11
sqlor/sor.py
@ -390,8 +390,17 @@ class SQLor(object):
|
|||||||
await self.execute(sql,NS,callback)
|
await self.execute(sql,NS,callback)
|
||||||
|
|
||||||
async def sqlExecute(self,desc,NS):
|
async def sqlExecute(self,desc,NS):
|
||||||
await self.execute(sql,NS,None)
|
await self.execute(desc,NS,None)
|
||||||
|
|
||||||
|
async def sqlExe(self,sql,ns):
|
||||||
|
desc = {
|
||||||
|
"sql_string":sql
|
||||||
|
}
|
||||||
|
ret = []
|
||||||
|
await self.execute(desc,ns,
|
||||||
|
callback=lambda(x):ret.append(DictObject(**x)))
|
||||||
|
return ret
|
||||||
|
|
||||||
async def tables(self):
|
async def tables(self):
|
||||||
sqlstring = self.tablesSQL()
|
sqlstring = self.tablesSQL()
|
||||||
ret = []
|
ret = []
|
||||||
|
Loading…
Reference in New Issue
Block a user