I need to store some files in my Mongo database and came across these two questions:
I do not care about the names of these files, I'll be addressing them by their unique mongo id. the Mongo db driver by default adds the filename as it is adding the content of it to the database and I believe it creates an index on it as well. Is there a way to tell it don't bother about the name of the file?
If all I'm adding to the database are images of type JPEG (same content type), do I gain any advantages by using the Symfony's mongo ODM as described here
Wasn't sure if I needed to create two separate questions since they are quite different questions, but answers or ideas about either of these questions will be appreciated.