Re: [sqlalchemy] Alembic 0.3.1 released

2012-04-07 Thread limodou
On Sun, Apr 8, 2012 at 6:05 AM, Michael Bayer wrote: > Alembic 0.3.1 is available at: > > http://pypi.python.org/pypi/alembic/ > > 0.3.1 > = > - [bug] bulk_insert() fixes: > >1. bulk_insert() operation was > not working most likely since the 0.2 series > when used with an engin

[sqlalchemy] Alembic 0.3.1 released

2012-04-07 Thread Michael Bayer
Alembic 0.3.1 is available at: http://pypi.python.org/pypi/alembic/ 0.3.1 = - [bug] bulk_insert() fixes: 1. bulk_insert() operation was not working most likely since the 0.2 series when used with an engine. #41 2. Repaired bulk_insert() to complete when used agai

[sqlalchemy] remove a filter expression from session.query

2012-04-07 Thread Jonathan MacCarthy
Hi, all. I'm trying to built queries that handle the presence of certain database-dependent functions like this: # q = session.query(MyTable) if isCustomQuery: q = q.filter(func.custom_function(MyTable.distance > 0)) try: results = q.all() except Operati