Why setting a string to the value fails ? I imagine it is because it's a NoSQL database working w/ BSON, ( or I'm doing something wrond ) and it must have a key and a value, like {"city": "Amsterdam"}. But it would be maybe easier to set "city" to msg.key and "Amsterdam" to msg.value. I tested and it is not working. (But when I set msg.value to { "city" : "Amsterdam"}, it is working) .
Hello :)
Why setting a string to the value fails ? I imagine it is because it's a NoSQL database working w/ BSON, ( or I'm doing something wrond ) and it must have a key and a value, like {"city": "Amsterdam"}. But it would be maybe easier to set "city" to msg.key and "Amsterdam" to msg.value. I tested and it is not working. (But when I set msg.value to { "city" : "Amsterdam"}, it is working) .
Another question : In this example https://raw.githubusercontent.com/NGRP/node-red-contrib-viseo/master/node-red-contrib-botbuilder/doc/node_start.jpg What is written in the key and value fields ?
Thank you for your help and great work