I am only fairly new to node-red and to cloudant. Must say, starting to really like it though.
Anyhow, I have a fairly basic flow with a http input -> function -> cloudant search index ->function (here is the problem) ->http output
So my question is, how on earth do I work with the output from cloudant?
Using msg.payload.length I can find out the length, but I can't get any deeper into the data and it is starting to send me a little crazy. I have a programming brain and can't believe I am having trouble with this.... just need things to get a little more difficult for me to understand things I think.
Anyhow, some assistance would be absolutely awesome
Edit: just adding on, I think I know roughly where the issue is. when looking at debug, under array it has 0: object. If the 0 was a word then I am guessing I should be able to do msg.payload.someword.everything else. Unfortunately, I can't seem to be able to do msg.payload.0.everythingelse