Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Mongo help

$
0
0
Hi,

I am trying to do delta extract of mongo data based on a timestamp (epoch) field. The examples given do not really cover this and I have tried several permutations. The current example I treid is :-

{ "$query" : { "rating.addedTimestamp" : { $gte : "1366387401" }}}

I am also trying to use $or :-

{ "$query" : { $or : [{"rating.addedTimestamp" : { $gte : "1366389453" }},{"rating.updatedTimestamp" : { $gte : "1366389453" }} ]}}

According to the Mongo doc this should work.

The examples given in the Mongo Input wiki do not really explain what needs to be quoted and what does not?

Has there been any better documentation recently?

Any help to get these working would be great!

Thanks,

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>