Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
*Location*: http://docs.mongodb.org/manual/reference/operator/update/position/#up._S_position
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4
*Referrer*: http://docs.mongodb.org/manual/reference/operator/update/push/
*Screen Resolution*: 1920 x 1200
*repo*: docs
*source*: reference/operator/update/position
*Location*: http://docs.mongodb.org/manual/reference/operator/update/position/#up._S_position *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4 *Referrer*: http://docs.mongodb.org/manual/reference/operator/update/push/ *Screen Resolution*: 1920 x 1200 *repo*: docs *source*: reference/operator/update/position
Description
Error in the documentation :
The results to the example "Add Elements at the Start of the Array" should be
{ "_id" : 1, "scores" : [ 100, 50, 60, 70 ] }instead of
{ "_id" : 1, "scores" : [ 50, 60, 70, 100 ] }.