---
schema_version: "1"
id: c8c2e22f0c8beb5414fd7e9883c4670737ad36d8f103514c395bb80f4a468e75
title: MongoDB Connector Additional Configuration Information
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/mongodb-connector/latest/mongodb-connector-additional-configuration.md
canonical_url: https://docs.mulesoft.com/mongodb-connector/latest/mongodb-connector-additional-configuration
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b99c16025821436dd5f3fee32a11a2247b8323989411021d85d97878f29f4e48
description: MuleSoft Documentation Site
release: "6.4"
latest: true
---
---
product: MongoDB Connector
version: 6.4
is-latest-version: true
---

# MongoDB Connector Additional Configuration Information

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## Additional Results in the Response of the Execute Command Operation

The **Execute Command** operation returns one page of results. If an execution returns a cursor
reference, invoke the `getMore` command as needed to traverse subsequent pages of results.

Suppose `executeCommand` is invoked with the following command value:

```dataweave
{
	"find": ("test"),
	"skip": 0,
	"batchSize": 10
}
```

The `executeCommand` returns a result like this:

```dataweave
{
  "cursor": {
    "firstBatch": [
      {
        "_id": {
          "$oid": "..."
        },
        "meta": {
          "view": {
            "id": 1,
//            ...
           }
//         ,{ ... }, ...
        }
//....
      }
    ],
    "id": 9041685167132828464,
    "ns": "test.test"
  },
  "ok": 1.0
}
```

To get additional results until there are none left, use the
[`getMore` command](https://www.mongodb.com/docs/v4.4/reference/command/getmore/) to retrieve the
next page of results:

```dataweave
{
	"getMore": 9041685167132828464,
	"collection" : "test",
	"batchSize": 10
}
```

The results of the `getMore` command include a cursor ID to use in subsequent `getMore` commands.

## See Also

[Salesforce Help](https://help.salesforce.com)
