コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
27829 ビュー

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
10220
1
3月 15
10756
0
3月 15
5798
3
3月 15
8709
45
4月 23
85145