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) > > How would I query this using the ORM layer? > > -aj > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to sqlalchemy@googlegroups.com. > To unsubscribe from this group, send email to > sqlalchemy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.