跳至内容
菜单
此问题已终结
2 回复
27722 查看

What is the difference between these fetching.? please give me a examples for reference site to get clear idea.still i'm confuse with it

res = cr.dictfetchall()

res2 = cr.dictfetchone()

res3 = cr.fetchall()

res4 = cr.fetchone()

as per below answers this is dictionary

[{'selected_tea_workers_line_ids': 3}, {'selected_tea_workers_line_ids': 5}]

then how to return value from that.?

    return {'value': {
                      'selected_tea_workers_line_ids':? ? ?
                      }}

refer this

形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
10158
1
3月 15
10680
0
3月 15
5674
3
3月 15
8595
45
4月 23
84948