cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to output an array structure with my single field

peter_ladis
New Contributor

I need help outputting the array in my schema

2 REPLIES 2

dmiller
Admin Admin
Admin

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
Community Manager

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