Database

[{"existeTransformacion":true},{"existeTransformacion":false},{"foo":true}]

Query

db.collection.aggregate([{$match:{$or:[{"existeTransformacion":true},{"existeTransformacion":{$exists:false}}]}}])

Result