limit and offset

$criteria = $this->getModel('shopSku')->query(); $criteria -> inWhere('shop_id',$shopIds); $criteria -> limit(20,0); $criteria -> execute();

Delete the limit method can be normal to the results, once added to the limit method will not get results