Hi, not all documents has the field "seconds", so I check for it, and then check if the value is not null, but I keep getting null results,
if (doc.containsKey('seconds')){
if (doc['seconds'].value != null){
return doc['seconds'].value;
}
}
Any clues on what is happening?
the field is a number
return type number
elk 7.51