Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
27020 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
9777
1
thg 3 15
10229
0
thg 3 15
5211
3
thg 3 15
8113
45
thg 4 23
83854