nodum.io Docs

Welcome at the nodum Docs. You'll find comprehensive guides and documentation to help you start working with nodumApp as quickly as possible. Let's jump right in!

Get Started    Docs

Database

Nodum gives the opportunity to save data in a database. In the database module you can use MongoDB, a simple and non sequential database that is known for its speed. You can find an extensive explanation about MongoDB in the Mongo manual. On this page you can read more about the installation of MongoDB within nodum and you get a short introduction on how to use the module.

When you open de Database module for the first time you will have to activate and configure it first. Activation is free, every subscription features (a minimum of) 500 MB worth of MongoDB storage. Select 'Activate' in the main screen of the module and MongoDB client will automatically be installed.

  • non sequential
  • store loose data
  • no matter which field

Collections

You can have multiple 'collections' within a database in MongoDB. During the installation of MongoDB as described above, the standard collection (named after your project) will be configured already. When you select this in the module menu you will see the overview of this collection. You can see what alias to use, how many items are in the database, how much the storage usage is and in which database the collection can be found. You can also see which fields the so called 'Indexes' apply to. An 'indexed' field ensures MongoDB to search the collection faster.
New collections can be created under 'Configuration' in the module menu.

Aliasses

When you select a collection in the top left corner you will get an overview. In case you just finished the configuration of your database there will be no data visible (this is not the case for Indexes and Alias). By means of this Alias you can save date in your database. In the standard collection the alias is always mongo.*, which means with the command {{ mongo.set() }} or {{ mongo.insert() }} you can add data to the database. For more information about how to use MongoDB you can look here.