Could you please tell, if something like this:
db.subscribers.find({ LISTID: 59, {$and : [ {field: { $in: ['English', 'Spanish']} },
{field: {$nin: ['Chinese']}}] }}
can be rewritten to work in mongodb versions before 2? Or it’s impossible make such query in these versions.
As you have read in the documentation, this operator is v2.0+ only. So, in previous versions it simply didn’t exist.
You can either upgrade your mongod, or take the source and implement the operator yourself.