[storm] Display executed SQL?

Morten Siebuhr sbhr at sbhr.dk
Fri Mar 7 14:47:47 GMT 2008


Lutz Horn skrev:
> Hi,
> 
> is it possible to let Strom display or log the SQL it executes? I'd like
> to see the SQL to be able to improve the indexes on my tables.

A tip I got from Håvard:

import storm.database
storm.database.DEBUG = True

AFAK, it prints the executed SQL.

-- 
Morten Siebuhr



More information about the storm mailing list