%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/optisoftcom/.cpanm/work/1544535406.20768/MongoDB-v2.0.2/t/data/CRUD/read/
Upload File :
Create Path :
Current File : /home/opti/optisoftcom/.cpanm/work/1544535406.20768/MongoDB-v2.0.2/t/data/CRUD/read/count.json

{
  "data": [
    {
      "_id": 1,
      "x": 11
    },
    {
      "_id": 2,
      "x": 22
    },
    {
      "_id": 3,
      "x": 33
    }
  ],
  "tests": [
    {
      "description": "Estimated document count",
      "operation": {
        "name": "estimatedDocumentCount",
        "arguments": {}
      },
      "outcome": {
        "result": 3
      }
    },
    {
      "description": "Count documents without a filter",
      "operation": {
        "name": "countDocuments",
        "arguments": {
          "filter": {}
        }
      },
      "outcome": {
        "result": 3
      }
    },
    {
      "description": "Count documents with a filter",
      "operation": {
        "name": "countDocuments",
        "arguments": {
          "filter": {
            "_id": {
              "$gt": 1
            }
          }
        }
      },
      "outcome": {
        "result": 2
      }
    },
    {
      "description": "Count documents with skip and limit",
      "operation": {
        "name": "countDocuments",
        "arguments": {
          "filter": {},
          "skip": 1,
          "limit": 3
        }
      },
      "outcome": {
        "result": 2
      }
    },
    {
      "description": "Deprecated count without a filter",
      "operation": {
        "name": "count",
        "arguments": {
          "filter": {}
        }
      },
      "outcome": {
        "result": 3
      }
    },
    {
      "description": "Deprecated count with a filter",
      "operation": {
        "name": "count",
        "arguments": {
          "filter": {
            "_id": {
              "$gt": 1
            }
          }
        }
      },
      "outcome": {
        "result": 2
      }
    },
    {
      "description": "Deprecated count with skip and limit",
      "operation": {
        "name": "countDocuments",
        "arguments": {
          "filter": {},
          "skip": 1,
          "limit": 3
        }
      },
      "outcome": {
        "result": 2
      }
    }
  ]
}

Zerion Mini Shell 1.0