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
ReactiveMongoOperations
and processing the returnedreactor.core.publisher.Flux
to print the query returned documents:Note the query actually executes when the
subscribe
method 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).