will restore engine.echo today.

leaving it out on session and pool, however (bet you didnt know they  
had "echo" too...)


On Aug 22, 2007, at 5:11 AM, svilen wrote:

>
> in 0.3, one could do
>  meta = MetaData( whatever, echo=True)
> later, early 0.4, the echo kwarg was gone, so it got less convenient,
> adding another line:
>  meta.bind.echo = True
> As of latest trunk, neither works, one has to explicitly do
>  meta = MetaData( create_engine(whatever, echo=True))
> which is probably fine for explicitness with lots of args, but is not
> very useful for a simple echo.
>
> IMO it is important to get the simplest use case (minimum explicit
> typing):
>  meta = MetaData( dburl, echo=True)
> working.
>
> Another thing, the dots that are produced by unittests magically
> disappear if meta.bind.echo = True, very interesting..
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to