Allow comparing JS objects over 16MB with BSON comparison functions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we expose useful BSON comparison functions in mongo shell that can be used on JavaScript objects:

      • bsonWoCompare()
      • bsonUnorderedFieldsCompare()
      • bsonBinaryEqual()

      All functions perform JS -> BSON translation, which fails if object size exceeds 16MB.

      I would argue this limitation can be lifted here, because the functions do not store objects in the database.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: