Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-292

no accessor functions for collections in gridfs

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.0.0
    • None
    • None
    • the report refers to the "new" c-driver, the tip version in git

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: