How to output an array structure with my single field
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2018 09:25 AM
I need help outputting the array in my schema
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2018 10:38 AM
Can you provide a little more information? What does your schema look like and what do you want the output to look like?
Diane Miller
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2018 10:54 AM
Here is my input side in the MAPPER
$field002
the target is this
$distributors
However when it goes into my mongo tables i need the distributor structure like this where values pop onto the array
var sample = {
proprty1:””
distributors:[“1”,”2”,”3"]
}
Thanks,
Peter Ladis
LilyPad
Co-Founder
813-785-6241
peter@lilypad.co
