This commit is contained in:
yumoqing 2024-04-06 16:58:16 +08:00
parent 9bfca6566b
commit ea15f463cd

View File

@ -9,6 +9,7 @@ import codecs
import re
import json
from appPublic.myImport import myImport
from appPublic.dictObject import DictObject
from appPublic.unicoding import uDict
from appPublic.myTE import MyTemplateEngine
from appPublic.objectAction import ObjectAction
@ -297,6 +298,7 @@ class SQLor(object):
dic = {}
for i in range(len(fields)):
dic.update({fields[i] : db_type_2_py_type(rec[i])})
dic = DictObject(**dic)
callback(dic,**kwargs)
if self.async_mode:
rec = await cur.fetchone()