[Catalyst] How to bind an array using my own schema

2009-05-13 Thread Jakub Tutaj
Hi! Is it possible to bind an array in code like below? Binding simple variables works perfectly... @myArray = (1,2,3); my $superSchema = [$c-model('myApp::mySuperSchema')-search ( {}, { bind = [ @myArray, $number] } ) ]; I'm using query like that in my schema

Re: [Catalyst] How to bind an array using my own schema

2009-05-13 Thread Hans Dieter Pearcey
On Wed, May 13, 2009 at 11:10:01AM -0700, Jakub Tutaj wrote: Is it possible to bind an array in code like below? Binding simple variables works perfectly... You meant to ask this question on the dbix-class mailing list; there isn't any Catalyst-related content here. hdp.

Re: [Catalyst] How to bind an array using my own schema

2009-05-13 Thread Tomas Doran
Jakub Tutaj wrote: Hi! Is it possible to bind an array in code like below? Binding simple variables works perfectly... You appear to have posted to the wrong list. You want the DBIx::Class list, this has nothing to do with Catalyst. Thanks t0m