How to fetch more than 1000?

后端 未结 16 1976
囚心锁ツ
囚心锁ツ 2020-11-28 04:13

How can I fetch more than 1000 record from data store and put all in one single list to pass to django?

16条回答
  •  孤城傲影
    2020-11-28 04:40

    To add the contents of the two queries together:

    list1 = first query
    list2 = second query
    list1 += list2
    

    List 1 now contains all 2000 results.

提交回复
热议问题