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

Clarify Cursor Example in Read CRUD page

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • None
    • None

    Description

      At http://docs.mongodb.org/manual/applications/read/#cursor , before "For more information",
      var myCursor = db.bios.find(

      { _id: 1 }

      );
      I THINK it should be
      var myCursor = db.bios.find( { },

      { _id: 1 }

      );

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            tglx2011 Tglx
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 31 weeks, 1 day ago