Build complex nested queries
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.
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.
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.
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
Full documentation is available at http://django-query-builder.readthedocs.org
MIT License (see LICENSE)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|django_query_builder-0.14.3-py2.py3-none-any.whl (52.5 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Apr 21, 2017|
|django-query-builder-0.14.3.tar.gz (41.6 kB) Copy SHA256 Checksum SHA256||–||Source||Apr 21, 2017|