QDjango: Database

QDjango

Classes
Database

Object Relation Mapper (ORM) More...

## Classes
class | QDjango
| The QDjango class provides a set of static functions. More...
class | QDjangoModel
| The QDjangoModel class is the base class for all models. More...
class | QDjangoQuerySet< T >
| The QDjangoQuerySet class is a template class for performing database queries. More...
class | QDjangoWhere
| The QDjangoWhere class expresses an SQL constraint. More...

## Detailed Description

Object Relation Mapper (ORM)

QDjango's Object Relation Mapper (ORM) strives to be both powerful and simple to use. Where possible it tries to follow django's ORM API, with a similar lazy queryset mechanism.

The object relation mapper builds upon Qt's Meta-Object System, so if you are familiar with Qt, you should feel right at home. Features include:

- support for a wide range of database backends thanks to QtSql
- creating and registering database models is easy using Qt's property system
- performing queries using querysets
- QDjango can create and drop database tables and indices for registered models
- thread-aware access to the database