Stores a file in the database
public storeFile ( 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 | Options for the store. "safe": Check that this store succeeded |
Résultat | mixed | Returns the _id of the saved object |