MongoDB: match non-empty doc in array May 20, 2023 by Tarik Figured it out: { 'score.user': { "$gt": {} } } will match non-empty docs.