sqlalchemy.sql.null() On Wednesday 08 October 2008 17:58:50 menuge wrote: > Hi all, > > I don't know how to insert a NULL value in a mysql table... > > Here is my code: > ###### > table = Table("table", metadataConfig, autoload=True) > i = table.insert() > i.execute({param1:'HIHIIH',param2:Null}) > ###### > > I tried to replace Null by None, but in Mysql, the result is > None... > > Is the a sqlalchemy contant defined for Null? > > thanks in advance >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---