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

Use RawBSONDocument to remove check_keys from sock_info.command

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

      sock_info.command has a check_keys argument which is only used for the following inserts and replacement style updates:

      • Collection.insert_one
      • Collection.replace_one
      • Collection.insert
      • Collection.save
      • Collection.update

      We can remove check_keys from the lower level code by encoding the document/replacement to a RawBSONDocument at a higher level.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: