Quantcast
Channel: BlogoSfera » tags
Viewing all articles
Browse latest Browse all 11

All operator in mongo using Spring

$
0
0

How can I use @Query annotation in spring to query an array in mongo Document. eg: user_id : 1 tags : ['scientist','biologist','mathematician','chemist']; user_id : 1 tags : ['scientist','physicist','carpenter','chemist']; I am query making api and the URL is something like this: localhost:8080/tags=scientist,biologist // should return 1st document or localhost:8080/tags=physicist,carpenter // should return 2nd document How can […]

The post All operator in mongo using Spring appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 11

Trending Articles