I need to know how to use where in MongoDB queries using Java Driver.
SELECT COLUMN1, COLUMN2 WHERE COLOUM3 = 'KeyWord';
I have a key Name and its value, and i want to find some other key/value. I think i can use $where for that. But, i dont know its syntax in java.
How shall i use where in my mongo queries?
Any suggestions would be appreciative!!!!
Thanks!