check if mongodb indexes are created in spring data
I want to be able to check if indexes are created while spring context initialization.
So I have a bean that for all of mine
Spring Data Mongo – Update operation with condition clause and an object update
I am trying to perform an update on a document in a Mongo collection. The query used to find and update a record is as below and works fine.