10-29-2020 04:23 AM
Hi All,
In one project I am using MongoDB find snap
query:([{$fisrstQuery},{$second}]). i am getting $firstQuery as string instead of value it’s hold
i need like this ([{“topic”:“test”},{“msgBody.title”:“MongoDB Overview”}])
plz anyone help me to resolve this.
10-29-2020 09:38 PM
@Malleshappa Share you input payload json which is feeding to Mongo DB find snap.
11-09-2020 09:29 PM
@Supratim sorry for the delay in reply plz look into the input sending to mongoFind
11-10-2020 10:16 PM
@Malleshappa Use something like- JSON.parse(“{”+$firstQuery+ “,” +$second +“}”)