Core module of django orm extensions package. Is a collection of third party plugins build in one unified package.
Project description
This module contaisn all basic and generic improvements needed by all submodules.
PostgreSQL server side cursors
For most cases, the normal cursor and django psycopg2 are more than enough. But there are cases where we have to do queries to tables with large amounts of data, and we need an efficient way to query this data.
On first step, put djorm_core.postgresql in your INSTALLED_APPS.
This is a simple example of usage:
from djorm_core.postgresql import server_side_cursors
with server_side_cursors():
for item in Model.objects.all():
print item.value
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djorm-ext-core-0.7.tar.gz
(3.3 kB
view details)
File details
Details for the file djorm-ext-core-0.7.tar.gz
.
File metadata
- Download URL: djorm-ext-core-0.7.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31296eed11c9ba90004568a3d653b3eb61a24f471311c2da209b14e495b63bc9 |
|
MD5 | ee6e4f0c2196ea10bea933473298d449 |
|
BLAKE2b-256 | e72a9ae09623eedf61731c6551a16ca171aece818a01b91d3c3d30f005ddf7d5 |