kohana 3.3 orm count records with where in array

Kohana
voted: 0
vote
kohana-3.3 orm count select

Count or select records with orm using where in array.

//count
$count = ORM::factory('Articles')->where('category_id', 'in', $identifiers_array)->count_all();

//select
$count = ORM::factory('Articles')->where('category_id', 'in', $identifiers_array)->count_all();
working url: not entered
version: 3.3 and probably others 3 versions
Leave a Comment:
Characters left:
No comments yet.