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

mongoc_collection_aggregate() example takes one extra argument

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.9.0
    • Affects Version/s: None
    • Component/s: docs, libmongoc
    • Labels:
      None

      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);

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

              Created:
              Updated:
              Resolved: