db.models.query.QuerySet.db

db

The database that will be used if this query is executed now.

Note

The query parameter to QuerySet exists so that specialized query subclasses such as GeoQuerySet can reconstruct internal query state. The value of the parameter is an opaque representation of that query state and is not part of a public API. To put it simply: if you need to ask, you don’t need to use it.

doc_Django
2016-10-09 18:36:07
Comments
Leave a Comment

Please login to continue.