PHP 7.4.0RC6 Released!

CollectionModify::skip

(No version information available, might only be in Git)

CollectionModify::skipSkip elements

Açıklama

public mysql_xdevapi\CollectionModify::skip ( integer $position ) : mysql_xdevapi\CollectionModify

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.

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.

Değiştirgeler

position

Number of elements to skip.

Dönen Değerler

A CollectionModify object to use for further processing.

Örnekler

Örnek 1 mysql_xdevapi\CollectionModify::skip() example

<?php

$coll
->modify('age > :age')->sort('age desc')->unset(['age'])->bind(['age' => 20])->limit(4)->skip(1)->execute();

?>
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top