Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4134

Comment on: "manual/tutorial/getting-started-with-the-mongo-shell.txt"

    XMLWordPrintableJSON

Details

    Description

      MongoDB shell version: 2.4.7
      connecting to: ds039960.mongolab.com:39960/familytree
      > db.mynewcollection.find().printjson()
      Tue Oct 07 08:05:08.925 TypeError: Object DBQuery: familytree.mynewcollection -> { } has no method 'printjson'
      > db.mynewcollection.find().print()
      Tue Oct 07 08:06:08.877 TypeError: Object DBQuery: familytree.mynewcollection -> { } has no method 'print'
      > db.mynewcollection.find()

      { "_id" : ObjectId("5431d3c324f2ab29198cff49"), "foo" : "bar" }

      >

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 19 weeks, 1 day ago