I know that in ArangoDB, you can use the below structure to iterate over all the attributes in a document:
FOR doc IN collection
LET attrs = ATTRIBUTES(doc)
I would like to do something similar, however I would like to ignore attributes that don't have array values, that is I only want to iterate over key-values where the value is an array (not a string, object, etc.) Is it possible to filter the attributes out this way, and if so how?