<?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: tMongoDBInput query for date gte in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-query-for-date-gte/m-p/2266660#M45802</link>
    <description>Hi, 
&lt;BR /&gt;Please try to replace ISODate("2014-01-23T00:00:00Z")
&lt;BR /&gt;with
&lt;BR /&gt;{ "$date": "2014-01-23T00:00:00Z"} to see if it is OK with you.
&lt;BR /&gt;Here is a on-line related doc for mongodb-extended-json
&lt;BR /&gt;
&lt;A href="http://docs.mongodb.org/manual/reference/mongodb-extended-json/" rel="nofollow noopener noreferrer"&gt;http://docs.mongodb.org/manual/reference/mongodb-extended-json/&lt;/A&gt;
&lt;BR /&gt;and stackoverflow articles 
&lt;A href="http://stackoverflow.com/questions/19819870/date-query-with-isodate-in-mongodb-doesnt-seem-to-work" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/19819870/date-query-with-isodate-in-mongodb-doesnt-seem-to-work&lt;/A&gt; and 
&lt;A href="http://stackoverflow.com/questions/20561381/mongodb-nodejs-how-to-query-isodate-fields" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/20561381/mongodb-nodejs-how-to-query-isodate-fields&lt;/A&gt;.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
    <pubDate>Mon, 03 Mar 2014 03:04:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-03T03:04:34Z</dc:date>
    <item>
      <title>tMongoDBInput query for date gte</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-query-for-date-gte/m-p/2266659#M45801</link>
      <description>I have some documents in MongoDB that has a DateTime field 
&lt;BR /&gt; {"Name" : "a name", "InsertDate" : ISODate("2014-01-23T14:32:11.746Z")}
&lt;BR /&gt;and I want to get all the document with InsertionDate greater than 2014-01-23 00:00:00. 
&lt;BR /&gt;I tried the following queries but doesn't work: 
&lt;BR /&gt;{"InsertDate": {"$gt":ISODate("2014-01-23T00:00:00Z")} (got Error com.mongodb.util.JSONParseException pointing to ISODate)
&lt;BR /&gt;{"InsertDate": {"$gt":new Date("2014-01-23T00:00:00Z")} (got Error com.mongodb.util.JSONParseException pointing to new Date)
&lt;BR /&gt;Some one suggested I should use a syntax like: {"InsertDate": {"$gt":{"$date":"2014-01-23T00:00:00Z"}} but does not produce the results I expect (got no Error from Talend but doesn't retrieve any document (probably this syntax is not supported by Mongo)).
&lt;BR /&gt;Any suggestions on how to include in query?
&lt;BR /&gt;I am using TOS for BigData and MongoDB 2.2.3.</description>
      <pubDate>Sat, 16 Nov 2024 11:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-query-for-date-gte/m-p/2266659#M45801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBInput query for date gte</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-query-for-date-gte/m-p/2266660#M45802</link>
      <description>Hi, 
&lt;BR /&gt;Please try to replace ISODate("2014-01-23T00:00:00Z")
&lt;BR /&gt;with
&lt;BR /&gt;{ "$date": "2014-01-23T00:00:00Z"} to see if it is OK with you.
&lt;BR /&gt;Here is a on-line related doc for mongodb-extended-json
&lt;BR /&gt;
&lt;A href="http://docs.mongodb.org/manual/reference/mongodb-extended-json/" rel="nofollow noopener noreferrer"&gt;http://docs.mongodb.org/manual/reference/mongodb-extended-json/&lt;/A&gt;
&lt;BR /&gt;and stackoverflow articles 
&lt;A href="http://stackoverflow.com/questions/19819870/date-query-with-isodate-in-mongodb-doesnt-seem-to-work" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/19819870/date-query-with-isodate-in-mongodb-doesnt-seem-to-work&lt;/A&gt; and 
&lt;A href="http://stackoverflow.com/questions/20561381/mongodb-nodejs-how-to-query-isodate-fields" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/20561381/mongodb-nodejs-how-to-query-isodate-fields&lt;/A&gt;.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 03 Mar 2014 03:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-query-for-date-gte/m-p/2266660#M45802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-03T03:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBInput query for date gte</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-query-for-date-gte/m-p/2266661#M45803</link>
      <description>&lt;P&gt;"{date : { $gte :{\"$date\":\"2019-11-10T00:00:00Z\"}}}"&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 08:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-query-for-date-gte/m-p/2266661#M45803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-10T08:36:01Z</dc:date>
    </item>
  </channel>
</rss>

