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

Comment on: "applications/gridfs.txt"

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved:
              11 years, 1 week, 5 days ago