On Jan 16, 2008, at 10:50 AM, Alexandre da Silva wrote:
>
> someone know why when I execute a
> session.execute("truncate table some_table cascade") in a postgresql
> database nothing happens?
> I need to put some extra parameter?
> --
you probably need to begin/commit a transaction since the PG dialect
doesnt pick up "truncate" as an "autocommit" keyword.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---