[DOCS-1453] Comment on: "manual/reference/operator/pull.txt" Created: 26/Apr/13  Updated: 03/Nov/17  Resolved: 26/Apr/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Harry Pehkonen Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

http://docs.mongodb.org/manual/reference/operator/pull/

Location: http://docs.mongodb.org/manual/reference/operator/pull/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
Referrer: http://docs.mongodb.org/manual/reference/operator/push/
Screen Resolution: 1600 x 900
repo: docs
source: reference/operator/pull


Participants:
Days since reply: 10 years, 42 weeks, 5 days ago

 Description   

The first example shows:
db.flags.update(

{ flags: 'msr' }

, { $pull:

{ field: 'msr' }

} )

I believe it should be:
db.flags.update(

{ flags: 'msr' }

, { $pull:

{ flags: 'msr' }

} )

Please note "flags" v.s. "fields".



 Comments   
Comment by auto [ 26/Apr/13 ]

Author:

{u'date': u'2013-04-26T19:51:53Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1453: correting pull example
Branch: v2.2
https://github.com/mongodb/docs/commit/516afd30358897207cc4b5133bdcf56af3e02e1f

Comment by auto [ 26/Apr/13 ]

Author:

{u'date': u'2013-04-26T19:51:53Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1453: correting pull example
Branch: master
https://github.com/mongodb/docs/commit/d47917bbe3059377ee80298b3d9690335996af9f

Comment by Sam Kleinman (Inactive) [ 26/Apr/13 ]

Thanks for the catch!

Generated at Thu Feb 08 07:41:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.