$nin seems to not be working in Atlas trigger

I have asked this question on StackOverFlow if anyone knows why the $nin is not working.

I have provided a working sample in python, and the equivalent in NodeJS not working.

Thanks a lot in advance for any help or check if it’s a real bug in Atlas triggers.

Someone solved it too on SO.
I should simply use the toArray() method after the cursor to be sure to not return a promise but the actual object.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.