Categories

Versions

You are viewing the RapidMiner Studio documentation for version 9.1 - Check here for latest version

Execute MongoDB Command (NoSQL)

Synopsis

Runs a user specified command on the MongoDB instance.

Description

This operator can be used to execute arbitrary MongoDB commands. Commands are specified and results returned via JSON/BSON documents. For instance, the command {"create": "myCollection"} creates a new collection of the name "myCollection".

Input

  • command

    The database command to be executed (a JSON/BSON document). Alternatively, you can specify this document via the command parameter. Note that this parameter is only visible if no document is connected to the input port.

Output

  • result

    The document containing the results of the MongoDB database command.

Parameters

  • mongodb_instance The MongoDB instance to be used to run the command. Range: Configurable
  • command The database command to be executed (a JSON/BSON document). Alternatively, you can specify this document via the command input port. Range: String