Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-472

Provide an API for inserting and returning raw BSON

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2
    • Affects Version/s: None
    • Component/s: None
    • None

      In my code I catch the exception bson.errors.InvalidDocument to check if my document is too large. If it is I need to split the document to smaller documents. To check the size of the resulting documents I go ahead generate the BSON object. It would be nice to be able to pass the BSON object to the insert the method instead of having insert do the BSON conversion again.

            Assignee:
            luke.lovett Luke Lovett
            Reporter:
            rminsk Robert Minsk
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: