From: Dave Rolsky <autarch@ur...> - 2005-01-20 17:50:21
On Thu, 20 Jan 2005, Niek Albers wrote:
> Is it possible to sort the rows returned by the automatic methods as
> generated by MethodMaker?
> my $orders = customer->order( order_by => 'order_date' );
Yes. Any cursor-returning method generated by Alzabo::MM will accept any
parameters that are accepted by the underlying method used to implement
them,. This needs to be documented better.
This means you can pass "where", "order_by", etc to these methods.
Your guide to all that's veg. My book blog