Свойство | Type | Description | |
---|---|---|---|
$slaveOkay |
Свойство | Type | Description | |
---|---|---|---|
$gridfs |
Méthode | Description | |
---|---|---|
__construct ( MongoGridFS $gridfs, MongoClient $connection, string $ns, array $query = [], array $fields = [] ) | Create a new cursor | |
current ( ) : MongoGridFSFile | Returns the current file | |
key ( ) : string | Returns the current result's filename |
public __construct ( MongoGridFS $gridfs, MongoClient $connection, string $ns, array $query = [], array $fields = [] ) | ||
$gridfs | MongoGridFS | Related GridFS collection |
$connection | MongoClient | Database connection |
$ns | string | Full name of database and collection |
$query | array | Database query |
$fields | array | Fields to return |
public current ( ) : MongoGridFSFile | ||
Résultat | MongoGridFSFile | The current file |