Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32201

Core Object has no hasOwnProperty Function

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.10, 3.6.0
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      Windows, Linux, MacOs
    • ALL
    • v3.6, v3.4
    • Hide

      Start mongoshell
      >typeof db.hasOwnProperty
      object
      >typeof db.<SOMECOLLECTION>.hasOwnProperty
      object

      Show
      Start mongoshell >typeof db.hasOwnProperty object >typeof db.<SOMECOLLECTION>.hasOwnProperty object

      In Mongo (server and mongo shell) , the DB/Collection Object (maybe more?) has no function "hasOwnProperty" anymore. There is a Object now.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            LitixThomas Thomas Scheibe [X]
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: