[DOCS-10411] Incorrect boolean type declaration example in --columnsHaveTypes Created: 20/Jun/17  Updated: 29/Oct/23  Resolved: 30/Jun/17

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

Type: Bug Priority: Major - P3
Reporter: Kevin Adistambha Assignee: Kevin Adistambha
Resolution: Fixed Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/reference/program/mongoimport/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Referrer: https://www.google.com.au/
Screen Resolution: 1440 x 900


Issue Links:
Duplicate
is duplicated by DOCS-10169 Comment on: "manual/reference/program... Closed
Participants:
Days since reply: 6 years, 32 weeks, 6 days ago

 Description   

The --columnsHaveTypes section lists a boolean type which stated that it should be declared using bool(), with example of verified.bool().

This is incorrect, since the bool() type is non-existent. The correct type declaration should be boolean().

Reference: https://github.com/mongodb/mongo-tools/blob/v3.4/mongoimport/typed_fields.go#L38-L50



 Comments   
Comment by Githook User [ 30/Jun/17 ]

Author:

{u'username': u'kevinadi', u'name': u'Kevin Adistambha', u'email': u'kevinadi@gmail.com'}

Message: DOCS-10411 changed bool() to boolean() under --columnsHaveTypes

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/85cc3bd82b4fd4bc87b9f89f655e67142ccb2dd0

Generated at Thu Feb 08 08:00:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.