MongoDB find snap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 09:38 PM
@Malleshappa Share you input payload json which is feeding to Mongo DB find snap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2020 09:29 PM
@Supratim sorry for the delay in reply plz look into the input sending to mongoFind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:16 PM
@Malleshappa Use something like- JSON.parse(“{”+$firstQuery+ “,” +$second +“}”)