PHP » GoLang |
login |
register |
about
|
GoLang MongoGridFS::put
request it (391)
GoLang replacement for PHP's MongoGridFS::put
[edit | history]
MongoGridFS::put(PECL mongo >=1.0.8) MongoGridFS::put — Stores a file in the database Description
public mixed MongoGridFS::put
( string
$filename
[, array $metadata = array()
[, array $options = array()
]] )
Parameters
Return ValuesReturns the _id of the saved file document. This will be a generated MongoId unless an _id was explicitly specified in the Errors/Exceptions
Throws MongoGridFSException if there is an error
reading See Also
|
more
Recently updated
more
Most requested
more
Last requests
|