Sha256: 096c00909526663e28acef9c44b2d6b38acfe16034cfea40e3603f31a8dc3056

Contents?: true

Size: 940 Bytes

Versions: 13

Compression:

Stored size: 940 Bytes

Contents

runOn:
    -
        minServerVersion: "3.6.0"
        serverless: forbid

database_name: &database_name "admin"

tests:
  -
    description: "Aggregate with $listLocalSessions"
    operations:
      -
        name: aggregate
        object: database
        arguments:
          pipeline:
            - $listLocalSessions: { }
            - $limit: 1
            - $addFields: { dummy: "dummy field"}
            - $project: { _id: 0, dummy: 1}
        result:
          -
            dummy: "dummy field"
  -
    description: "Aggregate with $listLocalSessions and allowDiskUse"
    operations:
      -
        name: aggregate
        object: database
        arguments:
          pipeline:
            - $listLocalSessions: { }
            - $limit: 1
            - $addFields: { dummy: "dummy field"}
            - $project: { _id: 0, dummy: 1 }
          allowDiskUse: true
        result:
          -
            dummy: "dummy field"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mongo-2.16.4 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.17.4 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.17.3 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.17.2 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.16.3 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.16.2 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.17.1 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.16.1 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.17.0 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.16.0 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.15.1 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.16.0.alpha1 spec/spec_tests/data/crud_v2/db-aggregate.yml
mongo-2.15.0 spec/spec_tests/data/crud_v2/db-aggregate.yml