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

Incorrect boolean type declaration example in --columnsHaveTypes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    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

      Attachments

        Activity

          People

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

            Dates

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