---
schema_version: "1"
id: de28821e712b3de7ddac4e40442b344f2568dc51d4ec5e3d7c6d3d950e1af87e
title: MongoDB Connector の追加設定情報
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/mongodb-connector/6.3/mongodb-connector-additional-configuration.md
canonical_url: https://docs.mulesoft.com/jp/mongodb-connector/6.3/mongodb-connector-additional-configuration
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 93d83d02feb9e98cf87a4b90705f27a1c7b30d9aeb932980fae1dab771894d09
description: MuleSoft Documentation Site
release: "6.3"
latest: true
---
# MongoDB Connector の追加設定情報

## [](#execute-command-操作の応答の追加の結果)Execute Command 操作の応答の追加の結果

**Execute Command**​ 操作では結果の 1 ページが返されます。 実行によってカーソル参照が返された場合は、必要に応じて ​`getMore`​ コマンドを呼び出して結果の後続のページを辿ります。

次のコマンド値を使用して ​`executeCommand`​ が呼び出されたとします。

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

`executeCommand`​ は次のような結果を返します。

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

残りがなくなるまで追加の結果を取得するには、 [`getMore`​ コマンド](https://docs.mongodb.com/v4.4/reference/command/getMore/)​を使用して結果の次のページを取得します。

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

`getMore`​ コマンドの結果には、後続の ​`getMore`​ コマンドで使用するカーソル ID が含まれています。

## [](#関連情報)関連情報

[MuleSoft ヘルプセンター](https://help.mulesoft.com)