Skip to content

MongoDB: Is not a function error #1101

@megatuXXer

Description

@megatuXXer

Bug Description

On some MongoDB collections I getting a "is not a function" error in the table view and SQL file.
In contrast to DBCode with the Node.js MongoDB driver everything is working correctly: https://github.com/mongodb/node-mongodb-native

Repro steps

  1. Select any MongoDB connection
  2. Open “New SQL file”
  3. Execute "db.collection(…).find({})"
  4. See error on some collections

Expected Behavior

It should be possible to view all collections without any error.

Actual Behavior

Error "_0x315983[(_0x333a00(...) + "g")] is not a function"

Environment

  • DBCode version: 1.31.1
  • VS Code (or fork) version: 1.120.0
  • OS: Windows
  • Database: MongoDB
  • Connection: SSL

Error Meesages (if applicable)

_0x315983[(_0x333a00(...) + "g")] is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions