Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10411

Incorrect boolean type declaration example in --columnsHaveTypes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      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

            Assignee:
            kevin.adistambha@mongodb.com Kevin Adistambha
            Reporter:
            kevin.adistambha@mongodb.com Kevin Adistambha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 43 weeks, 6 days ago