1

....... ->createQueryBuilder( 'Model\Document\Post' ) ->field( 'comments.id' )->equals( $commentId ) .... Does not work, but when comments are ReferenceMany it works. Is such query not possible when EmbedMany relation

No need to mention 'comments' refers to an EmbedMany document in a post document

dahuda
  • 13
  • 4

0 Answers0