mongodb
EXPERIMENTAL
This component is experimental and therefore subject to change or removal outside of major version releases.
Use a MongoDB instance as a cache.
Introduced in version 3.43.0.
# Config fields, showing default valueslabel: ""mongodb:url: ""database: ""username: ""password: ""collection: ""key_field: ""value_field: ""
Fields​
url
​
The URL of the target MongoDB DB.
Type: string
Default: ""
# Examplesurl: mongodb://localhost:27017
database
​
The name of the target MongoDB DB.
Type: string
Default: ""
username
​
The username to connect to the database.
Type: string
Default: ""
password
​
The password to connect to the database.
Type: string
Default: ""
collection
​
The name of the target collection in the MongoDB DB. This field supports interpolation functions.
Type: string
Default: ""
key_field
​
The field in the document that is used as the key.
Type: string
Default: ""
value_field
​
The field in the document that is used as the value.
Type: string
Default: ""