Evaluate fields


Hi.
I am creating a process for calculate number of empty fields of a collection in a mongoDB database. I am currently using Generate Attributes operator with the missing( Attribute_value argument) function in this way:
if(missing(project_code),1,0)+if(missing(id),1,0)+if(missing(ISSN),1,0)+...
I would like to calculate number of empty fields without specifying the columns. How I can do this?
Best regards.
John.
0
Answers
Hi John,
i think Generate Aggregation is doing the trick. See attached process.
Best,
Martin
Dortmund, Germany