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( ... ??
Thank you.
Please also note that Catalyst makes use of many Models; we can make the
assumption that you're using DBIx::Class, but please be more explicit
next time.
--
Tom Lanyon
_______________________________________________
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/