Thanks guys for your help. I knew it was possible, guess I just couldn't think of the right terms to google for!
On Feb 27, 1:33 am, Gaetan de Menten <[email protected]> wrote: > On Fri, Feb 27, 2009 at 09:15, Erik Janssens > > <[email protected]> wrote: > > just configure sql alchemy logging > > > import logging > > logging.basicConfig(level=logging.INFO) > > logging.getLogger('sqlalchemy.engine').setLevel(logging.DEBUG) > > Alternatively, you can also enable "echo" on the engine (either at > creation or at any point in your code): > > engine = create_engine(XXX, echo=True) > metadata.bind = engine > > or > > metadata.bind.echo = True > > > On Fri, Feb 27, 2009 at 6:21 AM, Greg <[email protected]> wrote: > > >> How can I have Elixir show me the sql it generates when executing my > >> queries? > > -- > Gaëtan de Mentenhttp://openhex.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
