RE: [sqlalchemy] problem when executing multiple insert statements and boolean type

2010-01-29 Thread King Simon-NFHD78
-Original Message- From: sqlalchemy@googlegroups.com [mailto:sqlalch...@googlegroups.com] On Behalf Of Manlio Perillo Sent: 29 January 2010 13:15 To: sqlalchemy@googlegroups.com Subject: [sqlalchemy] problem when executing multiple insert statements and boolean type -BEGIN

Re: [sqlalchemy] problem when executing multiple insert statements and boolean type

2010-01-29 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 King Simon-NFHD78 ha scritto: [...] params = [ {'x': 1}, {'x': 2, 'y': False} ] engine.execute(test.insert(), params) print engine.execute(test.select()).fetchall() [...] This should print: [(1, True), (2, False)] and instead it

Re: [sqlalchemy] problem when executing multiple insert statements and boolean type

2010-01-29 Thread Michael Bayer
Manlio Perillo wrote: -BEGIN PGP SIGNED MESSAGE- Ah, thanks. I think a check has been added in 0.6 so that an exception is raised if you don't follow this advice. No, I'm using the version from trunk, and there is no exception or warnings. the error is raised if a subsequent