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

Comment on: "applications/gridfs.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      GridFS myContracts = new GridFS(myDatabase, "contracts"); // returns GridFS bucket named "contracts"
      myFS.retrieveFile("smithco", new File("/tmp/smithco.pdf")); // retrieve GridFS object "smithco"

      This is the GridFS file retrieve example. the second line should refer to myContracts instead of myFS.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            attish Attila Tozser
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 40 weeks, 6 days ago