Hi Team,
I have a situation where there was a large scale data migration, and in process, it appears some documents were loaded improperly with empty array list items (see below document example). I’m trying to find and resolve all instances of this issue, but didn’t find any single function (or even combination) that could identify empty items in an array list as such. Any insight on a N1QL query to find empty items in array lists as per below (not just empty array lists) is greatly appreciated!
"objectList": [
{
"updatedBy": "USER",
"identifierList": [{}, {}, {
"updatedBy": "ABC",
"ntID": "AB1234-123"
}],
"seq_no": 15
}
]