Okay. So, it sounds like feeding an array to the ? placeholder in a query like 
"IN( ? )" is not supported by the existing binding methods -- instead I would 
need to provide alternatives like "IN( ? )", "IN( ?, ? )", "IN( ?, ?, ? )", 
etc. 

thanks for the feedback,

Bill


On Mar 28, 2012, at 3:18 PM, Ben Tilly wrote:

> The number of bind parameters in the query has to match the number of
> parameters passed in.  If you want to follow this approach you'll need
> to either dynamically create the query on the fly to match the
> request, or else pre-create versions with different numbers of bind
> parameters and use the correct one.

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to