I'm trying to find documents where the boxId field is not set or empty.
Running this does not work:
return Items.find({ createdBy: currenUser, boxId: { $or: [{ $exists: false }, { $size: 0 }] } })
Here's the error I get on the console:
Exception in template helper: Error: Unrecognized operator: $or