cancel
Showing results for 
Search instead for 
Did you mean: 

MongoDB find snap

Malleshappa
New Contributor

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.
Capture

3 REPLIES 3

Supratim
Contributor III

@Malleshappa Share you input payload json which is feeding to Mongo DB find snap.

@Supratim sorry for the delay in reply plz look into the input sending to mongoFind
image

Supratim
Contributor III

@Malleshappa Use something like- JSON.parse(“{”+$firstQuery+ “,” +$second +“}”)