[sqlalchemy] How can I get the query result filter_by the capital or lower letter?

2012-10-27 Thread DoDo
I try to use the query with filter_by function to grab the data from a table. But it can't get the correct return. session. query(testtable).filter_by(code = '1A') session. query(testtable).filter_by(code = '1a') How should I specify the capital letter or lower letter in filter_by function?

[sqlalchemy] Re: SQLA app and Django app using the same database

2012-10-27 Thread Eric Ongerth
Generally no problem due to the different ORMs. There is potential for concurrency issues just as if you had two apps with the same ORM accessing the same database. On Friday, October 26, 2012 7:56:06 AM UTC-7, Diego Woitasen wrote: Hi, I'm developing an application that access a DB that