On Oct 13, 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?
>
> ciao
> svil
Just wrap your bindparam with brackets.
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
-~----------~----~----~----~------~----~------~--~---