Skip to content
#

queryset

Here are 20 public repositories matching this topic...

The function slices a queryset into smaller querysets containing chunk_size objects and then yield them. It is used to avoid memory error when processing huge queryset, and also database error due to that the database pulls whole table at once. Concurrent database modification wouldn't make some entries repeated or skipped in this process.

  • Updated Jan 9, 2017
  • Python

Improve this page

Add a description, image, and links to the queryset topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the queryset topic, visit your repo's landing page and select "manage topics."

Learn more