Class::DBI::AbstractSearch and order_by, limit...

[prev] [thread] [next] [Date index for 2004/09/01]

From: Michael Jensen
Subject: Class::DBI::AbstractSearch and order_by, limit...
Date: 14:02 on 01 Sep 2004
--Apple-Mail-17--223988833
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

I am trying to use Class::DBI::AbstractSearch and it works fine, but I 
want to figure out how to use order_by and limit (using Rhesa's cool 
modification). Is it even possible?

        my @obj = Music::Artist->search_where(
            name => [ 'Ozzy', 'Kelly' ],
            status => { '!=', 'outdated' },
			 order_by ... ?
        );


-Michael Jensen
--Apple-Mail-17--223988833
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

I am trying to use
<fontfamily><param>Courier</param><x-tad-bigger>Class::DBI::AbstractSearch</x-tad-bigger></fontfamily>
and it works fine, but I want to figure out how to use order_by and
limit (using Rhesa's cool modification). Is it even possible?


<fontfamily><param>Courier</param><x-tad-bigger>       my @obj =
Music::Artist->search_where(

           name => [ 'Ozzy', 'Kelly' ],

           status => { '!=', 'outdated' },

			 order_by ... ?

       );


</x-tad-bigger></fontfamily>

-Michael Jensen
--Apple-Mail-17--223988833--


Class::DBI::AbstractSearch and order_by, limit...
Michael Jensen 14:02 on 01 Sep 2004

Re: Class::DBI::AbstractSearch and order_by, limit...
Rhesa Rozendaal 15:23 on 01 Sep 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52