manual.verysource.com
源码
技术论坛
博客
程序员在线工具箱
php教程
php手册
php手册
PHP Manual
GridFS Classes
The MongoGridFSCursor class
The MongoGridFSCursor class
(PECL mongo >=0.9.0)
简介
Cursor for database file results.
类摘要
extends
MongoCursor
{
/* Fields */
protected
MongoGridFS
$
gridfs
=
NULL
;
/* 方法 */
public
__construct
(
MongoGridFS
$gridfs
,
resource
$connection
,
string
$ns
,
array
$query
,
array
$fields
)
public
current
(
void
) :
MongoGridFSFile
public
getNext
(
void
) :
MongoGridFSFile
public
key
(
void
) :
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
User Contributed Notes
There are no user contributed notes for this page.
CopyRight © 2008-2022 verySource.Com All Rights reserved.
京ICP备17048824号-1
京公网安备:11010502034788