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

mongoc_collection_aggregate() example takes one extra argument

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 1.9.0
    • None
    • docs, libmongoc
    • None

    Description

      As per documentation, mongoc_collection_aggregate() takes five arguments.

      However, the example at http://mongoc.org/libmongoc/current/mongoc_collection_aggregate.html#example passes six arguments to the function:

      cursor = mongoc_collection_aggregate (collection, MONGOC_QUERY_NONE, pipeline, NULL, NULL, NULL);

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            josef.ahmad@mongodb.com Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: