PHP Portal » PHP Handbuch » MongoGridFS::storeBytes

Werbung

MongoGridFS::storeBytes


(PECL mongo >=0.9.2)

MongoGridFS::storeBytesChunkifies and stores bytes in the database

Beschreibung

public mixed MongoGridFS::storeBytes ( string $bytes [, array $extra = array() ] )

Parameter-Liste

bytes

A string of bytes to store.

extra

Other metadata to add to the file saved.

Rückgabewerte

The _id of the object saved.