[sqlalchemy] Re: error in query many to many

2015-04-04 Thread biohegedus
Thanks for your input! It helped my to find a bug in my code. I inserted 0 for false, 1 and 2 for true. However, inserting a bad value for boolean using SQLAlchemy should also result in an exception and not only selecting a boolean with a bad value. Thanks again, Tamas On Saturday, April 4,

Re: [sqlalchemy] Re: error in query many to many

2015-04-04 Thread Mike Bayer
On 4/5/15 12:54 AM, biohege...@gmail.com wrote: Thanks for your input! It helped my to find a bug in my code. I inserted 0 for false, 1 and 2 for true. However, inserting a bad value for boolean using SQLAlchemy should also result in an exception and not only selecting a boolean with a bad