MongoDB.live, free & fully virtual. June 9th - 10th. Register Now

[Aggregation] Reference current iteration field in $elemMatch

Hey,

This is my basic $elemMatch

"$elemMatch": {
                    "item_field_1": { $eq: "$item_field_2" }
                }

I cannot find how to make a self reference un $elemMatch, that possible ?