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

Provide an API for inserting and returning raw BSON

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.2
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: