Commits

Anonymous committed cd0e9ff

[1.0.X] Fixed #11235 -- Added a missing clause from some sample SQL in the queryset docs.

Merge of r11239 from trunk.

Comments (0)

Files changed (1)

docs/ref/models/querysets.txt

 
     The resulting SQL of the above example would be::
 
-        SELECT blog_blog.*, (SELECT COUNT(*) FROM blog_entry WHERE blog_entry.blog_id = blog_blog.id)
+        SELECT blog_blog.*, (SELECT COUNT(*) FROM blog_entry WHERE blog_entry.blog_id = blog_blog.id) AS entry_count
         FROM blog_blog;
 
     Note that the parenthesis required by most database engines around