MongoCursor::key
MongoCursor::next
MongoCursor
PHP Manual

# MongoCursor::limit

(PECL mongo >=0.9.0)

MongoCursor::limit — Limits the number of results returned

### 설명

public MongoCursor MongoCursor::limit ( int `$num` )

### 인수

`num`

  The number of results to return.

### 반환값

Returns this cursor.

### 오류/예외

Throws MongoCursorException if this cursor has started iterating.

MongoCursor::key
MongoCursor::next
MongoCursor
PHP Manual