Sha256: c0fdb466e7d253046556c7c4c42bed3c25738dd9422882af80b54ba4d861bf56

Contents?: true

Size: 708 Bytes

Versions: 10

Compression:

Stored size: 708 Bytes

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:
            result:
                - {_id: 2, x: 22}
                - {_id: 3, x: 33}
            collection:
                name: "other_test_collection"
                data:
                    - {_id: 2, x: 22}
                    - {_id: 3, x: 33}

Version data entries

10 entries across 8 versions & 2 rubygems

Version Path
mongo-2.5.0.beta spec/support/crud_tests/read/aggregate-out.yml
mongo-2.4.3 spec/support/crud_tests/read/aggregate-out.yml
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/read/aggregate-out.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/read/aggregate-out.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.2/spec/support/crud_tests/read/aggregate-out.yml
mongo-2.4.2 spec/support/crud_tests/read/aggregate-out.yml
tdiary-5.0.4 vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/read/aggregate-out.yml
mongo-2.4.1 spec/support/crud_tests/read/aggregate-out.yml
mongo-2.4.0 spec/support/crud_tests/read/aggregate-out.yml
mongo-2.4.0.rc1 spec/support/crud_tests/read/aggregate-out.yml