Compare commits

..

No commits in common. "bc536b5fffc6cb5942cb66b96795f44a80b6f799" and "5b8733cc9ce64aa8a00a8b573b173a47084350b0" have entirely different histories.

View File

@ -450,9 +450,8 @@ async with db.sqlorContext(dbname) as sor:
}
}
{% endif %}
tblfields = {{json.dumps(fields, ensure_ascii=False)}}
tblfname = [ f.name for f in tblfields.keys() ]
other_keys = [ k for k in ns.keys() if k in tblfnmae and k != 'id' ]
tblfields = {{json.dumps([ f.name for f in fields ])}}
other_keys = [ k for k in ns.keys() if k in tblfields and k != 'id' ]
if len(other_keys) > 0:
r = await sor.U('{{summary[0].name}}', ns)
debug('update success');