Change default ObjectID generator

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.1.0
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now when I insert a document in the mongodb collection an object id is created like so:

      ```
      ObjectId("5d691c2954ea84068f9e5b67")
      ```

      wich is fine. But if for some reason i need to have UUID as ID, how can i tell the driver to do that? I have already tried giving the ID field in my struct the UUID type, but that didn't worked

            Assignee:
            Unassigned
            Reporter:
            Francesco Gimignano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: