Skip to Content
Menú
This question has been flagged
2 Respostes
27568 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
1
de març 15
10109
1
de març 15
10625
0
de març 15
5623
3
de març 15
8524
45
d’abr. 23
84767