`insert_one` (& others) takes ownership of data

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It looks like it's not necessary - the only action with `T` inside this function is to call `to_bson(&T)`.

            Assignee:
            Unassigned
            Reporter:
            Pavel Kropitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: