Re: [sqlalchemy] [Postgres] Querying an array

2011-02-03 Thread Michael Bayer
you can emit ANY(...) using func.any(table.c.users) On Feb 3, 2011, at 3:25 AM, aj wrote: > Running Sqlalchemy 0.5.8 (can't upgrade right now) with Postgres > 8.1.X. > > A table contains an array column: > > users text[] > > In SQL I would query > > > select ...where 'jim' = ANY(users) > >

[sqlalchemy] [Postgres] Querying an array

2011-02-03 Thread aj
Running Sqlalchemy 0.5.8 (can't upgrade right now) with Postgres 8.1.X. A table contains an array column: users text[] In SQL I would query select ...where 'jim' = ANY(users) How would I query this using the ORM layer? -aj -- You received this message because you are subscribed to the Goog