Core Object has no hasOwnProperty Function

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.4.10, 3.6.0
    • Component/s: JavaScript
    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Thomas Scheibe [X]
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: