I am using:
$mongodb->order_by(array('date' => 'desc'))->limit(30)->offset(0);
$output = $mongodb->get('post');
Now I want to use the slice operator to limit the amount of comments I get. In mongo shell I can use the $slice operator like this:
comments:{$slice: 5}
but I am not sure how I can translate that over when using fuel. Any ideas?