0

I have collection with 2 properties "from_id", "chat_id". I want to filter objects with same values in this fields.

Unfortunatelly, from_id: { $ne: '$chat_id' } doen't works. enter image description here

Advice me, please how to exclude such objects.

0 Answers0