Remove broken find filter handling for Buffer

XMLWordPrintableJSON

    • 1
    • Not Needed
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      If a Buffer is passed to a find* operation, the server will respond with an error. As this is unused and unnecessary, remove the handling of this code path at https://github.com/mongodb/node-mongodb-native/blob/main/src/operations/find.ts#L96-L104

              Assignee:
              Bailey Pearson
              Reporter:
              Alex Bevilacqua
              Durran Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: