Reputation: 24140
I have written code
ORM::factory('cds')->find_all(1, 2);
It is returning all row . But according to documentation it should return 2 row. what's wrong in the code ? http://docs.kohanaphp.com/libraries/orm
Upvotes: 4
Views: 3536
Reputation: 254906
For Kohana v3 the valid way to perform limit is:
ORM::factory('cds')->limit(2)->find_all();
Upvotes: 7