Stores a file in the database
public put ( string $filename, array $extra = [], array $options = [] ) : mixed | ||
$filename | string | The name of the file |
$extra | array | Other metadata to add to the file saved |
$options | array | An array of options for the insert operations executed against the chunks and files collections. |
return | mixed | Returns the _id of the saved object |