bugfix
This commit is contained in:
parent
4cd1b78766
commit
d08c901909
@ -567,7 +567,7 @@ class SQLor(object):
|
|||||||
fields = [ i['name'] for i in desc['fields']]
|
fields = [ i['name'] for i in desc['fields']]
|
||||||
fns = ','.join(fields)
|
fns = ','.join(fields)
|
||||||
vfns = ','.join(['${%s}$' % n for n in fields ])
|
vfns = ','.join(['${%s}$' % n for n in fields ])
|
||||||
sql = 'insert into %s (%s.%s) values (%s)' % (self.dbname, tablename,fns,vfns)
|
sql = 'insert into %s.%s (%s.%s) values (%s)' % (self.dbname, tablename, tablename,fns,vfns)
|
||||||
await self.runSQL({'sql_string':sql},ns,None)
|
await self.runSQL({'sql_string':sql},ns,None)
|
||||||
|
|
||||||
async def R(self,tablename,ns,filters=None):
|
async def R(self,tablename,ns,filters=None):
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
|
# fixed sor.py C function bug.
|
||||||
|
__version__ = 0.1.2
|
||||||
# use PyMySQL to replace mysql-connector
|
# use PyMySQL to replace mysql-connector
|
||||||
__version__ = '0.1.1'
|
# __version__ = '0.1.1'
|
||||||
|
Loading…
Reference in New Issue
Block a user