(No version information available, might only be in Git)
CollectionFind::skip — Skip given number of elements to be returned
$position
)For the result set of a find operation, skip the first N elements that would be returned by the find operation. If the amout of element skipped is bigger than the size of the result set then the find operation will return an empty set.
position
Number of elements to skip.
CollectionFind object that can be used for further processing.
Example #1 mysql_xdevapi\CollectionFind::skip() example
<?php
//Assuming $coll is a valid Collection object
//Find all the documents for which the 'job' field is equal to 'Programmatore', skip the first 3
$res = $coll->find('job like \'Programmatore\'')->skip(3)->execute();
?>