[DOCS-1241] Comment on: "manual/tutorial.txt" Created: 15/Mar/13  Updated: 03/Nov/17  Resolved: 17/Apr/13

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

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

Location: http://docs.mongodb.org/manual/tutorial/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
Referrer: http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&sqi=2&ved=0CC4QFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Ftutorial&ei=odlCUcOnC4rlrAeZtYGIDg&usg=AFQjCNFfK2WLQ81WM8m6R99aSOn8U_iHzQ
Screen Resolution: 1920 x 1080
repo: docs
source: tutorial


Participants:
Days since reply: 10 years, 44 weeks ago

 Description   

while using mongoexport for json, sub field alone cannot be fetched.
Eg:

{a:6}

{a:{b:5}}
mongoexport --db dbname --collection colname --fields 'a.b' --out jsonfile.json
O/P:

{a:6}

{a:{b:5}}
My Expectation :
{a:{b:5}}



 Comments   
Comment by auto [ 17/Apr/13 ]

Author:

{u'date': u'2013-04-16T20:51:28Z', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-1241 mongoexport with fields from subdocuments

incorporate Spencer's comments

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: v2.2
https://github.com/mongodb/docs/commit/007267d97535b182cc6b27e2c2f245821271577d

Comment by auto [ 17/Apr/13 ]

Author:

{u'date': u'2013-04-16T20:51:28Z', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-1241 mongoexport with fields from subdocuments

incorporate Spencer's comments

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/8a146018d36388aa4255ba60cf984beb3d8c8d65

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