Support automatically setting _id in Upserts.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Codecs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If I have a collectible codec, we could in theory set the _id for upserts that insert by automatically including it in $setOnInsert.

      Would require a change to CollectableCodec so that the `_id` generation is publicly accessible and doesn't rely on an document instance.

            Assignee:
            Unassigned
            Reporter:
            Ross Lawley
            None
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: