Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
27658 Vues

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
Ignorer
Publications associées Réponses Vues Activité
1
mars 15
10138
1
mars 15
10657
0
mars 15
5655
3
mars 15
8564
45
avr. 23
84880