MongoDB: Case Insensitive search (Java) -


basicdbobject search = new basicdbobject(); search.put("name", uname); mongocursor<document> mongocursor = testcollection.find(search).iterator(); 

i've seen few ways online of them 2 years or old. don't work basicdbobject search well. correct way of going now? i'm using mongodb java driver 3.2.


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

python - matplotlib equivalent for Ubuntu servers with no GUI? -