no accessor functions for collections in gridfs

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.0.0
    • Component/s: None
    • None
    • Environment:
      the report refers to the "new" c-driver, the tip version in git
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A c-driver client can't currently access the collections "files" and "chunks" in the mongoc_gridfs_t. Accessing these is important in case a client wants to refine the semantics of files deletions (example e.g. in the nsfmongo driver ("git clone git://alice.wu-wien.ac.at/nsf" see nsf/library/mongodb/nsfmongo.c, code around MONGO_HAS_NO_GRIDFS_COLLECTION_ACCESSOR). Providing an accessor just for reading access should be quite harmless. Without the patch, a client has to include the private header files.

      Attached is a patch relative to the current head version of the mongo-c-driver.

            Assignee:
            Unassigned
            Reporter:
            Gustaf Neumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: