Skip to content
Browse files

[1.0.X] Fixed #11209 -- Added a note to doc on connection.queries tha…

…t the logged sql may not inlude parameter quoting.

r10847 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 18feaea commit 28380f48ca0507a05b2effe5c5b7f376ba43d9c2 @kmtracey kmtracey committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/faq/models.txt
3 docs/faq/models.txt
@@ -22,6 +22,9 @@ of dictionaries in order of query execution. Each dictionary has the following::
``connection.queries`` includes all SQL statements -- INSERTs, UPDATES,
SELECTs, etc. Each time your app hits the database, the query will be recorded.
+Note that the raw SQL logged in ``connection.queries`` may not include
+parameter quoting. Parameter quoting is performed by the database-specific
+backend, and not all backends provide a way to retrieve the SQL after quoting.
Can I use Django with a pre-existing database?

0 comments on commit 28380f4

Please sign in to comment.
Something went wrong with that request. Please try again.