Little mistake in documentation - Model One-to-Many Relationships with Embedded Documents

There is a little mistake in the documentation in this page:

The product collection stores information on each product, including the product’s ten most recent reviews:

Then, in the code, there are 11 reviews (from review_id 786 to 776 inclusive):


1 Like

Hi @Rafael_Green,

Great catch on the off-by-one error (assuming no sequential reviews were deleted).

I reported this as and submitted a GitHub PR with a quick fix.

FYI, you can also create DOCS issues directly and the documentation is open for contribution if you are interested :slight_smile: .


1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.