MySQL and PHP
Copyright 1997-2021 the PHP Documentation Group.
CollectionModify::skip
Skip elements
public mysql_xdevapi\CollectionModify mysql_xdevapi\CollectionModify::skip(int position);
Skip the first N elements that would otherwise be returned by a find operation. If the number of elements skipped is larger than the size of the result set, then the find operation returns an empty set.
This function is currently not documented; only its argument list is available.
position
Number of elements to skip.
A CollectionModify object to use for further processing.
Example 5.49 mysql_xdevapi\CollectionModify::skip
example
<?php $coll->modify('age > :age')->sort('age desc')->unset(['age'])->bind(['age' => 20])->limit(4)->skip(1)->execute(); ?>