Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Prepared statements support for Django

Project description

# DJANGO-PREPARED-QUERY[![Build Status](]([![Coverage Status](]([![PyPI](]()

## Installation
You can install `django-prepared-query` using pip:
$ pip install django-prepared-query

## Example
from django_prepared_query import PreparedManager, BindParam

class Book(models.Model):
objects = PreparedManager()

qs = Book.objects.filter(name__startswith=BindParam('name_start'))
books = qs.execute(name_start='A')

## Documentation
Documentation is available here

## Benchmark
[Here]( you can find notebook with benchmark.

## Goals
* Add support for in lookup.
* Add support for limit/offset.
* Add support for INSERT/UPDATE sql queries.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-prepared-query-0.3.0.tar.gz (7.8 kB) Copy SHA256 hash SHA256 Source None Jun 17, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page