I'm trying to use a create_service with a Col of array datatype using mapping, but it doesn't work. Someone can help me?
I'm trying to use a create_service with a Col of array datatype using mapping, but it doesn't work. Someone can help me?
Hi Joao,
Add JS for this parameter:prereturn JSON.stringify(value);/pre
Thx for the help but It doesn't work
Joao,
Try this code please:prereturn value.toString();/preWhat data is expected in parameter 'ids'? Could you please show an example?
return value.toString(); Doesn't work too...
"ids" is a string like "52d045a0e4b06de3a9a5acc8" and nome is a name, string too, like "João Marcos"
Hi - and "ids" and "nomes" are receiving arrays?
no, "ids" and "nomes" are receiving a string
If you mapping string to 'nomes' it would not work - you'll need to transmit an a array -- pre [ ... ] /pre
can I insert, mapping, in "id_funcionario" something like that:
["52d045a0e4b06de3a9a5acc8","João"],["12d045a0e4b06de3a9a5a123","Mario"]
How can I use mapping with arrays like that?