- PHP 手册
- 函数参考
- 数据库扩展
- 针对各数据库系统对应的扩展
- Mongo
- 核心类
- MongoCursor
MongoCursor::__construct
(PECL mongo >=0.9.0)
MongoCursor::__construct — Create a new cursor
说明
public MongoCursor::__construct ( MongoClient$connection
, string $ns
[, array $query
= array()
[, array $fields
= array()
]] )
参数
-
connection
-
Database connection.
-
ns
-
Full name of database and collection.
-
query
-
Database query.
-
fields
-
Fields to return.
返回值
Returns the new cursor.
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/mongocursor.construct.php