General
Connection stringA MongoDB connection string.
Example: mongodb://<username>:<password>@localhost:27017/<databaseName>
Here <databaseName> is the database to connect to.
Collection NameThe name of the collection to query.
Example: documents
TLS
Use TLSWhether or not to use TLS in case your mongoDB requires TLS.
Allow Invalid CertificatesChecking this will disable certificate validation.
Specifying this option in a production environment makes your application insecure and potentially vulnerable to expired certificates and to foreign processes posing as valid client instances.
Certificate Authority FileOne or more certificate authorities to trust when making a TLS connection.
Example: .\ca.pem
All configuration values listed below can be overridden using the incoming object.
If a configuration value expects an object (for example query, sort or projection), the value must be provided as stringified JSON in the incoming object.
QueryA Mongo query that can be passed in find(). Example: {"kind":"CONTAINER"}
The
Query input field uses HandleBars. You can use Handlebars to create dynamic queries. For more information, please read
HandleBarsFor nested keys, you can use the so-called dot-notation.
An empty query value or empty object {} will return all the data from the database.
Override key: query (stringified JSON)
SortSpecify in the sort parameter the field or fields to sort by and a value of 1 or -1 to specify an ascending or descending sort respectively.
Example: {"kind":1}
Override key: sort (stringified JSON)
ProjectionSpecify in the projection parameter the field or fields you want to include or exclude from the query result. A value of 1 indicates inclusion and a value of 0 indicates exclusion.
Inclusion and exclusion cannot be used simultaneously.
Example: {"kind":1}
Override key: projection (stringified JSON)
DistinctThe distinct method retrieves an array of unique values for a specified field in a collection.
Example: kind
Override key: distinct (string)
LimitSpecify a limit on the number of documents that you want to retrieve.
Override key: limit (number)
SkipSpecify the amount of documents that should be skipped before results are retrieved.
Override key: skip (number)
Enable parsing numberDecimalBy default Mongo will retrieve NumberDecimals (in this example 1.05) as { $numberDecimal: "1.05" }. By enabling parsing numberDecimal the returning value will be a float: 1.05 instead.
Rounded numbers will parse to a number that does not have its decimals anymore. For example { "testKey": { $numberDecimal: "1.0" } } will parse to { "testKey": 1 }.
Override key: parseNumberDecimal (boolean)
Rate limit
Batch sizeAllows you to configure the batch size.
Override key: batchSize (number)
IntervalThe interval in milliseconds in which the requests happen.
Override key: interval (number)