Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Image Removed

To create a GridFS collection, open the "Advanced Settings" while creating a new collection . There and enable the GridsFS collection option must be enabledthere. When saving, the entered collection will name is extended with ".files" on the entered name and an associated chunks collection will is created.

Alternatively you can enter Specifying the extension ".files" extension directly in the collection name . Then, makes the application detects detect by itself , that a GridFS collection should shall be created.

The remaining options of the "Advanced settings" are explained here: http://docs.mongodb.org/manual/reference/method/db.createCollection/

Hinweis

For When using this functionality it is important to note that the naming conventions for MongoDB collections are complied with and the new you need to take care of MongoDB's naming conventions and make sure a database with the same name does not already exist in on the databaseserver.