I have a collection like this:
{"type": "bbb", "category": "aaa", "from": "eee", "INTERLOCUTOR": ["test1", "test2"]}
and I want to find INTERLOCUTOR have test1 ; how to use by ReactiveMongoOperations?
I have a collection like this:
{"type": "bbb", "category": "aaa", "from": "eee", "INTERLOCUTOR": ["test1", "test2"]}
and I want to find INTERLOCUTOR have test1 ; how to use by ReactiveMongoOperations?
Using
ReactiveMongoOperationsand processing the returnedreactor.core.publisher.Fluxto print the query returned documents:Note the query actually executes when the
subscribemethod runs. Since the subscribe runs as an asynchronous operation, when you run this add the following to the current thread (for blocking it until the async operation completes).