Sha256: 46ee0b477643e68bbd010803b576f818af099f48b1a958c9169c90630f73611c

Contents?: true

Size: 1.13 KB

Versions: 32

Compression:

Stored size: 1.13 KB

Contents

data:
    - {_id: 1, x: 11}
    - {_id: 2, x: 22}
    - {_id: 3, x: 33}
minServerVersion: '2.6'

tests:
    -
        description: "Aggregate with $out"
        operation:
            name: aggregate
            arguments:
                pipeline:
                    - $sort: {x: 1}
                    - $match:
                        _id: {$gt: 1}
                    - $out: "other_test_collection"
                batchSize: 2

        outcome:
            collection:
                name: "other_test_collection"
                data:
                    - {_id: 2, x: 22}
                    - {_id: 3, x: 33}
    -
        description: "Aggregate with $out and batch size of 0"
        operation:
            name: aggregate
            arguments:
                pipeline:
                    - $sort: {x: 1}
                    - $match:
                        _id: {$gt: 1}
                    - $out: "other_test_collection"
                batchSize: 0

        outcome:
            collection:
                name: "other_test_collection"
                data:
                    - {_id: 2, x: 22}
                    - {_id: 3, x: 33}

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
mongo-2.11.4 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.10.4 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.11.3 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.11.2 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.11.1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.10.3 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.11.0 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.10.2 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.11.0.rc0 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.10.1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.10.0 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.10.0.rc0 spec/spec_tests/data/crud/read/aggregate-out.yml