Child field in has_child query

(Sundar V) #1


We have modeled based on parent-child relationship. Each child document has a field "date", that shows when the child was created. When we query the parent to get the list of parents, based on number of children, we also would like to get the first and the last dates of the child documents. Any tips on how this is possible?

(system) #2