bugfix
This commit is contained in:
parent
e6d90ac6a8
commit
023999cf0d
@ -604,7 +604,7 @@ class SQLor(object):
|
|||||||
fields = [ i['name'] for i in desc['fields'] if i['name'] in keys ]
|
fields = [ i['name'] for i in desc['fields'] if i['name'] in keys ]
|
||||||
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.%s) values (%s)' % (self.dbname, tablename, tablename,fns,vfns)
|
sql = 'insert into %s.%s (%s) values (%s)' % (self.dbname, 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):
|
||||||
|
Loading…
Reference in New Issue
Block a user