Tuesday, September 11, 2018

Re: Different results of running pure SQL query from Django and from PGAdmin


I'd be interested to see a printout of 'columns' and 'cursor.description'.

One explanation would be that your for-loop is not actually accessing the data that you think it is, or that your query is not actually fetching the data that you think it is.  

No criticism of your query implied - just trying to get more visibility into the actual results.  

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cd6767a9-b3f1-4971-9f12-dc818092f697%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment