Php/docs/class.mongogridfscursor
来自菜鸟教程
(PECL mongo >=0.9.0)
简介
Cursor for database file results.
类摘要
extends MongoCursor {
protected
MongoGridFS
$gridfs
= null
/* 方法 */
public __construct
( MongoGridFS $gridfs
, resource $connection
, string $ns
, array $query
, array $fields
)
public current ( ) : MongoGridFSFile
public getNext ( ) : MongoGridFSFile
public key ( ) : string
}
Table of Contents
- MongoGridFSCursor::__construct — Create a new cursor
- MongoGridFSCursor::current — Returns the current file
- MongoGridFSCursor::getNext — Return the next file to which this cursor points, and advance the cursor
- MongoGridFSCursor::key — Returns the current result's filename
/* Fields */