Solved
Forum Discussion
bojanvelevski
4 years agoValued Contributor
Try this:
$data.mapValues((v,k)=>v.map(x=>x.mapValues((v1,k1)=>k1.endsWith("_DATE") && v1 == null ? "0000-00-00" : v1 )))
aditya_gupta41
4 years agoContributor
This too is getting error:
failure:
“Map type does not have a method named: map, found in: …-00-00” : v1 )). Perhaps you meant: mapKeys, mapValues"