mirror of https://github.com/apache/nifi.git
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,8 +112,11 @@ public class PutMongo extends AbstractMongoProcessor {
|
|||
.allowableValues(UPDATE_WITH_DOC, UPDATE_WITH_OPERATORS)
|
||||
.defaultValue(UPDATE_WITH_DOC.getValue())
|
||||
.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")
|
||||
.build();
|
||||
"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();
|
||||
static final PropertyDescriptor CHARACTER_SET = new PropertyDescriptor.Builder()
|
||||
.name("Character Set")
|
||||
.description("The Character Set in which the data is encoded")
|
||||
|
|
Loading…
Reference in New Issue