Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6306

Add possibility to directly insert bson objects

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON

      How are you using Mongo? What version of the server and driver are you using?

      Distributed system. Our NodeJS Webserver is the only process with access to the database.

      What is the feature/improvement you would like?

      We have valid bson documents and want to insert those documents in mongodb. At the moment we need to parse those bson documents into JS-Objects to insert those objects (in the driver they will be converted to bson again).
      We would like a shortcut to directly insert bson-buffers instead of JS-Objects.

      What use case would this feature/improvement enable?

      Higher performance if bson documents are already present (and unnecessary parsing can be skipped).

            Assignee:
            Unassigned Unassigned
            Reporter:
            haser@videmo.de Yannick Haser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: