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 - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -