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 -

python - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -