Wednesday, August 29, 2012

Re: _last_executed cursor property

sorry, my mail was a bit misleading, it was meant to draw your attention to the fact that your dbapi driver does not have this property despite claiming to be 100% mysql compatible

please, consider my mail either as a bug report

thanks, V

On Wed, Aug 29, 2012 at 7:50 PM, Rob Clevenger <rcleveng@google.com> wrote:
Hi,

Our dbapi driver doesn't have this field.

Rob


On Tue, Aug 28, 2012 at 7:27 AM, Bika <akasha.bika@gmail.com> wrote:
from the django/db/backends/mysql/base.py
# With MySQLdb, cursor objects have an (undocumented) "_last_executed"
# attribute where the exact query sent to the database is saved.
# See MySQLdb/cursors.py in the source distribution.

Is there a way to access the last executed query string using cloud sql?


No comments:

Post a Comment