<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to update data in Mongodb Collection? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-update-data-in-Mongodb-Collection/m-p/2231960#M22082</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;Anybody help?&lt;/P&gt;
&lt;P&gt;Even it run successfull but there is nothing changed in the Collection.&lt;/P&gt;
&lt;P&gt;It seem not working for Update, Delete&lt;/P&gt;
&lt;P&gt;Just work fine for insert, upsert...&lt;/P&gt;
&lt;P&gt;I have set the _id as Key and change the data type to Object already, but still not work&lt;/P&gt;
&lt;P&gt;I also see that when I change from Update to Upsert, but this way create another document instead of update&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2020 09:16:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-07T09:16:10Z</dc:date>
    <item>
      <title>how to update data in Mongodb Collection?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-update-data-in-Mongodb-Collection/m-p/2231959#M22081</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have simple case, just read data in a Mongodb collection and update a data field and then save back to the same collection.&lt;/P&gt; 
&lt;P&gt;I use tMongodbInput to get data, and then use tMap to revise the value, and finally, I use tMongodbOutput which config to the same collection.... but it not work.&lt;/P&gt; 
&lt;P&gt;Could you share me how to do it?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 716px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Rb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150549i11710BEDE2227DCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Rb.png" alt="0683p000009M8Rb.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-update-data-in-Mongodb-Collection/m-p/2231959#M22081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to update data in Mongodb Collection?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-update-data-in-Mongodb-Collection/m-p/2231960#M22082</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;Anybody help?&lt;/P&gt;
&lt;P&gt;Even it run successfull but there is nothing changed in the Collection.&lt;/P&gt;
&lt;P&gt;It seem not working for Update, Delete&lt;/P&gt;
&lt;P&gt;Just work fine for insert, upsert...&lt;/P&gt;
&lt;P&gt;I have set the _id as Key and change the data type to Object already, but still not work&lt;/P&gt;
&lt;P&gt;I also see that when I change from Update to Upsert, but this way create another document instead of update&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 09:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-update-data-in-Mongodb-Collection/m-p/2231960#M22082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-07T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to update data in Mongodb Collection?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-update-data-in-Mongodb-Collection/m-p/2231961#M22083</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt; 
&lt;P&gt;I found it, just an weird requirement from MongoDB syntax, let it here for other to refference&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The problem here is cause by using Object ID (which is auto generated by Mongodb when you insert new document into the database). Just try to avoid using it as you key, but if you really want to use, please add ObjectID('[your document id here]').&lt;/P&gt; 
&lt;P&gt;That is all the story which take me out more than 1 week.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 942px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9IR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155673i01AF4FCFA4A3B168/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9IR.png" alt="0683p000009M9IR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 06:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-update-data-in-Mongodb-Collection/m-p/2231961#M22083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-10T06:52:58Z</dc:date>
    </item>
  </channel>
</rss>

