GoLang MongoGridfsFile::__construct

request it (294)
GoLang replacement for PHP's MongoGridfsFile::__construct [edit | history]



Do you know a GoLang replacement for PHP's MongoGridfsFile::__construct? Write it!

PHP MongoGridfsFile::__construct

PHP original manual for MongoGridfsFile::__construct [ show | php.net ]

MongoGridfsFile::__construct

(PECL mongo >=0.9.0)

MongoGridfsFile::__constructCreate a new GridFS file

Description

public MongoGridfsFile::__construct ( MongoGridFS $gridfs , array $file )

Parameters

gridfs

The parent MongoGridFS instance.

file

A file from the database.

Return Values

Returns a new MongoGridFSFile.