skip to navigation
skip to content

Not Logged In

django-query-builder 0.5.7

Build complex nested queries

Latest Version: 0.8.1

django-query-builder

querybuilder is a django library for assisting with the construction and execution of sql. This is not meant to replace django querysets; it is meant for managing complex queries and helping perform database operations that django doesn’t handle.

Why use querybuilder?

The django querybuilder allows you to control all parts of the query construction. This is happens more clearly because the function calls more closely represent the actual sql keywords.

Why not just use django’s .raw() function?

While the raw function lets you execute custom sql, it doesn’t provide any way for the developer to build the query dynamically. Users lacking experience writing “raw” sql should avoid using querybuilder and stick with django’s querysets. The querybuilder’s query construction closely mirrors writing sql, where django querysets simplify the sql generation process for simple queries.

Requirements

  • Python 2.7+
  • Django 1.4+

Installation

To install the latest release, type:

pip install django-query-builder

To install the latest code directly from source, type:

pip install git+git://github.com/ambitioninc/django-query-builder.git

Documentation

Full documentation is available at http://django-query-builder.readthedocs.org

License

MIT License (see LICENSE)

 
File Type Py Version Uploaded on Size
django-query-builder-0.5.7.tar.gz (md5) Source 2014-07-17 33KB
  • Downloads (All Versions):
  • 308 downloads in the last day
  • 908 downloads in the last week
  • 2366 downloads in the last month