Closed heqiang closed 11 months ago
问题 当我查询数据的时候, to_json=True,limit=1 时,如果查询结果为[] 就会报错 截图
代码 没有判断result 为空的情况 if limit == 1: if conver_col: result = [convert(col) for col in result] result = dict(zip(columns, result))
好的,已修复,下个版本发布
feapder==1.9.0b1
已发布
问题 当我查询数据的时候, to_json=True,limit=1 时,如果查询结果为[] 就会报错 截图
代码 没有判断result 为空的情况 if limit == 1: if conver_col: result = [convert(col) for col in result] result = dict(zip(columns, result))