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

list_collections should apply the Database's codec_options

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • API
    • None

    Description

      list_collections currently uses DEFAULT_CODEC_OPTIONS to decode the collection info documents returned from the listCollections command. We should use the Database's codec_options instead so that users can control the decoding of the response document. This will allow users to get RawBSONDocuments or SON etc...

      We made a similar change to use codec_options for current_op in PYTHON-1709.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: