PHP » GoLang |
login |
register |
about
|
GoLang MongoGridFSFile::getResource
request it (318)
GoLang replacement for PHP's MongoGridFSFile::getResource
[edit | history]
PHP MongoGridFSFile::getResourcePHP original manual for MongoGridFSFile::getResource [ show | php.net ]MongoGridFSFile::getResource(PECL mongo >=1.3.0) MongoGridFSFile::getResource — Returns a resource that can be used to read the stored file Description
public resource MongoGridFSFile::getResource
( void
)
This method returns a stream resource that can be used with all file functions in PHP that deal with reading files. The contents of the file are pulled out of MongoDB on the fly, so that the whole file does not have to be loaded into memory first. At most two GridFSFile chunks will be loaded in memory. ParametersThis function has no parameters. Return ValuesReturns a resource that can be used to read the file with ExamplesExample #1 MongoGridFSFile::getResource() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|