php8.5
Home/ Manual/ mysql_xdevapi / crudoperationskippable/ CrudOperationSkippable::skip

CrudOperationSkippable::skip

PHP function Edit on GitHub ✎

Number of operations to skip

Description

mysql_xdevapi\CrudOperationSkippable::skip(int $skip): mysql_xdevapi\CrudOperationSkippable

Skip this number of records in the returned operation.

Func

Parameters

skip

Number of elements to skip.

Return Values

A CrudOperationSkippable object.

Examples

mysql_xdevapi\CrudOperationSkippable::skip() example

php
<?php

$res = $coll->find('job like \'Programmatore\'')->limit(1)->skip(3)->sort('age asc')->execute();

?>

Source: reference/mysql_xdevapi/mysql_xdevapi/crudoperationskippable/skip.xml · from the official PHP manual (php/doc-en)