On Oct 13, 10:21 am, Michael Bayer <[EMAIL PROTECTED]> wrote:
> On Oct 13, 2008, at 6:41 AM, [EMAIL PROTECTED] wrote:
>
>
>
> > why i cannot give in_() a bindparam?
>
> > q.filter( x.in_( somelistorset )) works
> > q.filter( x.in_( bindparam('somename') )) fails
> > ...
> > File "sqlalchemy/sql/expression.py", line 1368, in _in_impl
> > for o in seq_or_selectable:
> > TypeError: '_BindParamClause' object is not iterable
>
> > is this possible or not ?
> > or sending a list/tuple/iterable as bindparam-value is not supported?
>
> is this a resend? I answered a week ago (hm, GG didnt
> deliver ? ) should be x.in_([bindparam('somename')])
I have to turn off the caching proxy for this group, you reply too
fast.
Wayne
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---