Ticket #13101: 13101-queries.diff
File 13101-queries.diff, 693 bytes (added by , 15 years ago) |
---|
-
docs/faq/models.txt
28 28 parameter quoting. Parameter quoting is performed by the database-specific 29 29 backend, and not all backends provide a way to retrieve the SQL after quoting. 30 30 31 .. versionadded:: 1.2 32 33 If you are using :ref:`multiple databases<topics-db-multi-db>`, you can see the 34 queries using the alias of the database:: 35 36 >>> from django.db import connections 37 >>> connections['my_db_alias'].queries 38 31 39 Can I use Django with a pre-existing database? 32 40 ---------------------------------------------- 33 41