Possibly something like:
$print_issues->find(array(
'fields' => array('id', 'issue_date'),
'limit' => 45,
'offset' => 1,
'conditions' => array(
'id >=' => 2043,
)
);
Untested, not sure wether it'll work though. :)
On Jul 14, 1:09 pm, liaogz82 <[email protected]> wrote:
> Hi all,
>
> I am having some difficulty finding a cakePHP solution to this MySQL
> statement:
>
> SELECT `id`, `issue_date` FROM icapsdb3.print_issues where id >=2043
> limit 45,1
>
> Can somebody help me please?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---