Mongodb Array Subset Query

  mongodb, question


‘user_name’:’xiaoming’,
‘books’:[‘java’,’c++’,’php’,’python’,’js’,’html’,’android’]

When querying, how do you return only the 3 elements after’ c++’ in the books array?

“MonogDB authoritative guide” second edition 61 pages
It is suggested to turn over more books.