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
Former Employee

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

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