On Apr 16, 2007, at 4:24 PM, Will Smith wrote:

Hi,
I want to do a search on a table which contains a where clause greater than, and tried what I can think of but none work. This might not a place for this type of question, but I hope that some of you could spend a minute to help me out.
Just a simple search:
select * from books where id > '3';

$c->stash->{book} = [$c->model('myAppDB::Book')->search( ...  ??

$c->model( 'myAppDB::Book' )->search( id => { '>' => 3 } );

--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to