File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ MongoDBWriter通过Datax框架获取Reader生成的数据,然后将Datax支持
116116 "type": "int"
117117 }
118118 ],
119- "upsertInfo ": {
120- "isUpsert ": "true",
121- "upsertKey ": "unique_id"
119+ "writeMode ": {
120+ "isReplace ": "true",
121+ "replaceKey ": "unique_id"
122122 }
123123 }
124124 }
@@ -135,11 +135,11 @@ MongoDBWriter通过Datax框架获取Reader生成的数据,然后将Datax支持
135135* collectionName: MonogoDB的集合名。【必填】
136136* column:MongoDB的文档列名。【必填】
137137* name:Column的名字。【必填】
138- * type:Column的类型。【选填 】
138+ * type:Column的类型。【必填 】
139139* splitter:特殊分隔符,当且仅当要处理的字符串要用分隔符分隔为字符数组时,才使用这个参数,通过这个参数指定的分隔符,将字符串分隔存储到MongoDB的数组中。【选填】
140- * upsertInfo :指定了传输数据时更新的信息。【选填】
141- * isUpsert :当设置为true时,表示针对相同的upsertKey做更新操作 。【选填】
142- * upsertKey:upsertKey指定了每行记录的业务主键 。用来做更新时使用。【选填】
140+ * writeMode :指定了传输数据时更新的信息。【选填】
141+ * isReplace :当设置为true时,表示针对相同的replaceKey做更新操作 。【选填】
142+ * replaceKey:replaceKey指定了每行记录的业务主键 。用来做更新时使用。【选填】
143143
144144#### 5 类型转换
145145
You can’t perform that action at this time.
0 commit comments