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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -