Add some convenience to capture SQL statements and save the in an in-memory log

Bug #879252 reported by Free Ekanayaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
Fix Released
Medium
Free Ekanayaka

Bug Description

It would be nice to be able to do something like:

from storm.tracer import capture
with capture() as log:
      # Run queries
print log.queries() # Print the queries that have been run

Related branches

Changed in storm:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Free Ekanayaka (free.ekanayaka)
milestone: none → 0.20
Changed in storm:
status: In Progress → Fix Committed
Changed in storm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.