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

How to pass variable while filtering Mongodb INPUT

$
0
0
{ created_at : { $gte : { $date : "2014-12-31T00:00:00.000Z" } } }

Instead of "2014-12-31T00:00:00.000Z" -> today's date in same format "2014-12-31T00:00:00.000Z"

How can I replace the value with todays date via variable

SOMETHING LIKE BELOW
{ created_at : { $gte : { $date : "$TODAY-DATE" } } }

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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