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

Provide an API for inserting and returning raw BSON

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Python Sprint 23, Python Sprint 24, Python Sprint 25, Python Sprint 26

      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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: