Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2797

Figure out how to handle elisions in java

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Export to Language
    • None

    Description

      Elisions in javascript: [,,1, 2] --> [undefined, 1, 2]

      Won't work in java because doing `.append("array with leading elision", Arrays.asList(null, "1", "2")) will throw a null pointer exception.`

       

      Use BsonUndefined

       

      Attachments

        Activity

          People

            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: