Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2279

New ignoreEmptyStrings option for EJSON and BSON .serialize()/deserialize()

    • Type: Icon: New Feature New Feature
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None

      For Compass import from file, we have a ignoreEmptyFields user option which is equivalent to --ignoreBlanks in mongoimport.

      Having an ignoreEmptyFields option like ignoreUndefined in the driver today would be great for Compass performance and complexity. It would allow us to remove a second expensive recursion into objects on top the same first pass recursion js-bson already does.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            lucas.hrabovsky Lucas Hrabovsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: