This doesn't quite work:
the DDL class (well, the method '_TextClause' in the module
'expression' actually) parses out any sql containing a ':' (colon) as
if it were a bind variable.
Althouth the documentation says: "SQL bind parameters are not
available in DDL statements", it still looks for anything that
resembles a bind variable, then binds these variables to the None
value. Sqlalchemy then sends these invalid bind variables off to the
database with the sql.
I get an error back from the database with my trigger sql text,
followed by {'new':None, 'old':None}.
The special keywords in Oracle ':new', and ':old', aren't actually
bind variables when used in PL/SQL.
Any ideas for a workaround?
I'm using version 0.5.0beta3-py2.5
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---