Hi,
I am pretty new to MongoDb. However I wanted to create following queries with incasesensitive behavior using java mongo driver
1) 'doesNotContain' query:
Similar to following mongo query Ex: db.mydb.find({"myfield" :{$not: /myvalue/i}})
This query should return records where 'myfield' does not contains 'myvalue'
2) Exact match or equal query:
Ex: db.mydb.find({"myfield" :"myvalue"})
This query should return records where 'myfield' completely matched with 'myvalue' but with incasesensitive behavior
Please suggest
Thanks,
Yogesh Yadav