I am working with mongodb. My collection has 2 array fields. In both array I will have some values. In tmongooutput, I have successfully created one array field which is grouped by a primary key. But I am not able to set the other array field. I noticed that I can only set one element as loop element at a time. Input is csv.
Can anyone please give a solution how to create a collection which has 2 array fields? any way to set 2 loop elements?
Thanks in advance.
Could you please elaborate your case with an example with input and expected output values?