Hi Guys,
Loving the tool here more and more But I am facing an issue and not sure what I can do to resolve it.
I have an array of IP addresses (produced by the “Item List” node, see the image below), in the array, they all appear to have type “string”.
I need to use these IP addresses in the MongoDB query ($in loop). However, when I am editing the expression to create a proper MongoDB query, somehow the strings turn to numbers. And because this is an IP address with dots in it, I am getting a parsing error (ERROR: Unexpected token . in JSON at position 23).
My expression is
{ "ip": {"$in": [{{$json["ip"]}}]}}
And the result window shows correct values (see below):
However, as I close this window and check the query results, the IP addresses are parsed as numbers.
Am I doing something wrong? Thanks in advance for your help!