UUID convenience class

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-4.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Convenience class making uuid creations easier & typed, allowing:
       

      const uuid1 = new UUID();
      const uuid2 = new UUID('aaaaaaaa-aaaa-4aaa-aaaa-aaaaaaaaaaaa');
      const uuid3 = new UUID('aaaaaaaaaaaa4aaaaaaaaaaaaaaaaaaa');
      const bin = uuid1.toBinary();
      const uuid11 = bin.toUUID(); // will throw if not of sub_type Binary.SUBTYPE_UUID

              Assignee:
              Steffen Agger (Inactive)
              Reporter:
              Kenneth Geisshirt (Inactive)
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: