Thanks Jesse. I have committed it to the Jifty-DBI trunk (r3923). You can now easily limit yourself to a known set of values.<br><br><br><div><span class="gmail_quote">On 8/20/07, <b class="gmail_sendername">Jesse Vincent
</b> <<a href="mailto:jesse@bestpractical.com">jesse@bestpractical.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
looks good. go for it.<br>On Aug 15, 2007, at 10:01 AM, Edward Funnekotter wrote:<br><br>> Hi all,<br>><br>> Here is a patch for your perusal that contains fixes to Jifty-DBI<br>> to allow a limit clause to contain an array ref. This gets
<br>> converted to an 'IN' operator within the built SQL query. The<br>> operator can be either 'IN' or '='.<br>><br>> E.g.<br>><br>> $users_obj->limit( column => 'login',
<br>> operator => 'IN',<br>> value => ['cubic', 'obra', 'glasser',<br>> 'audreyt'] );<br>><br>> Could someone in the know, take a peek and ok the commit?
<br>><br>> Thanks,<br>> Edward<br>><br>><br>> <in_operator_patch.gz><br>> _______________________________________________<br>> jifty-devel mailing list<br>> <a href="mailto:jifty-devel@lists.jifty.org">
jifty-devel@lists.jifty.org</a><br>> <a href="http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel">http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel</a><br><br><br>_______________________________________________
<br>jifty-devel mailing list<br><a href="mailto:jifty-devel@lists.jifty.org">jifty-devel@lists.jifty.org</a><br><a href="http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel">http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
</a><br><br><br></blockquote></div><br>