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.13.3 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.14.1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.15.1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.15.0 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.15.0.alpha spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.13.2 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.14.0 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.14.0.rc1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.13.1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.12.4 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.11.6 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.13.0 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.12.3 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.13.0.rc1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.12.2 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.10.5 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.11.5 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.13.0.beta1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.12.1 spec/spec_tests/data/crud/read/aggregate-out.yml
mongo-2.12.0.rc0 spec/spec_tests/data/crud/read/aggregate-out.yml