I have user document collection like this:
User { id:\"001\" name:\"John\", age:30, friends:[\"userId1\",\"userId2\",\"userId3\"....] } >
User { id:\"001\" name:\"John\", age:30, friends:[\"userId1\",\"userId2\",\"userId3\"....] }
You can use playOrm to do what you want in one Query(with S-SQL Scalable SQL).