Re: django.db.connection request - add a key

2008-06-13 Thread Collin Grady
hiwd said the following: > 'index': self.db.queries.__len__() Shouldn't that be len(self.db.queries) ? :) -- Collin Grady We are not anticipating any emergencies. --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

django.db.connection request - add a key

2008-06-13 Thread hiwd
Small request, just for debugging purposes... When viewing the generated sql using django.db.connection.queries array I want to see the index of the query, the ID if you will, to help me debug. Currently, class CursorDebugWrapper's execute method is building the array of dicts with the keys 'sq