Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I was wondering if someone with experience using the tMongoDB components might suggest a fix. Although the components predate some of the functionality on MongoDB I am looking to use, the following 'query' encapsulates an aggregation framework pipeline in a single run.Command, so I'm hoping it gets treated as any other query to MongoDB that these components can handle.
As per screenshot, I am using a tMongoDBInput Query, passing this string:
"db.runCommand({aggregate:'posts',pipeline:});"
Which is failing as per the errors. Am I missing something.
I can see from the online example under tMongoDBRow that passing a function works and there is an "Execute command" in this component ... should I be using this to run this query instead?
Any suggestions much appreciated. Thanks.
Hi,
This is my query to tmongodbinput "{createdDate : { $gte :{\"$date\":\"2014-01-01T00:00:00Z\"}, $lte :{\"$date\":\"2014-01-31T00:00:00Z\"}} }" . I want to replay the values with parameters (greater than yesterday date and less than today). How do i do that.