PHP - Manual: MongoGridFSCursor::key
2024-11-15
(PECL mongo >=0.9.0)
MongoGridFSCursor::key — Returns the current result's filename
此函数没有参数。
The current result's _id as a string.
版本 | 说明 |
---|---|
1.3.0 | The document's _id is returned as a string value, since the key should be unique. Pre-1.3.0, filename was returned. |
官方地址:https://www.php.net/manual/en/mongogridfscursor.key.php