Skip to main content

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.6.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file djorm-ext-core-0.6.tar.gz.

File metadata

File hashes

Hashes for djorm-ext-core-0.6.tar.gz
Algorithm Hash digest
SHA256 e13e6dc33dd0b1909ba84451e5e1e8f0e885cf602dc93bc4ff4c8947c501fa2e
MD5 a754ad918407862b1d9ab4a9ffe7fd65
BLAKE2b-256 ebe0750d707d50f124f6681f05c48ceaf517c9213d77578ccd90af3e823fb696

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page