mirror of
https://github.com/apache/nifi.git
synced 2025-02-08 02:58:43 +00:00
Clarifying upsert query documentation for PutMongo processor.
This closes #2999 Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
This commit is contained in:
parent
7e8b7752ca
commit
e0f7f244b8
@ -112,7 +112,10 @@ public class PutMongo extends AbstractMongoProcessor {
|
|||||||
.allowableValues(UPDATE_WITH_DOC, UPDATE_WITH_OPERATORS)
|
.allowableValues(UPDATE_WITH_DOC, UPDATE_WITH_OPERATORS)
|
||||||
.defaultValue(UPDATE_WITH_DOC.getValue())
|
.defaultValue(UPDATE_WITH_DOC.getValue())
|
||||||
.description("Choose an update mode. You can either supply a JSON document to use as a direct replacement " +
|
.description("Choose an update mode. You can either supply a JSON document to use as a direct replacement " +
|
||||||
"or specify a document that contains update operators like $set and $unset")
|
"or specify a document that contains update operators like $set, $unset, and $inc. " +
|
||||||
|
"When Operators mode is enabled, the flowfile content is expected to be the operator part " +
|
||||||
|
"for example: {$set:{\"key\": \"value\"},$inc:{\"count\":1234}} and the update query will come " +
|
||||||
|
"from the configured Update Query property.")
|
||||||
.build();
|
.build();
|
||||||
static final PropertyDescriptor CHARACTER_SET = new PropertyDescriptor.Builder()
|
static final PropertyDescriptor CHARACTER_SET = new PropertyDescriptor.Builder()
|
||||||
.name("Character Set")
|
.name("Character Set")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user