Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
28382 Tampilan

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
10620
1
Mar 15
11221
0
Mar 15
6221
3
Mar 15
9192
45
Apr 23
86232