Sha256: 54aa59de91f9c6019ffd833c8221c3bebb1740c7db24a2080d418ab93f1ae5c9

Contents?: true

Size: 658 Bytes

Versions: 26

Compression:

Stored size: 658 Bytes

Contents

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

tests:
    -
        description: "Distinct without a filter"
        operation:
            name: distinct
            arguments:
                fieldName: "x"
                filter: {}

        outcome:
            result: 
                - 11
                - 22
                - 33
    -
        description: "Distinct with a filter"
        operation:
            name: distinct
            arguments:
                fieldName: "x"
                filter: 
                    _id: {$gt: 1}

        outcome:
            result: 
                - 22
                - 33
  

Version data entries

26 entries across 25 versions & 3 rubygems

Version Path
mongo-2.3.1 spec/support/crud_tests/read/distinct.yml
mongo-2.3.0 spec/support/crud_tests/read/distinct.yml
mongo-2.2.7 spec/support/crud_tests/read/distinct.yml
mongo-2.2.6 spec/support/crud_tests/read/distinct.yml
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mongo-2.2.5/spec/support/crud_tests/read/distinct.yml
mongo-2.2.5 spec/support/crud_tests/read/distinct.yml
mongo-2.2.4 spec/support/crud_tests/read/distinct.yml
mongo-2.2.3 spec/support/crud_tests/read/distinct.yml
mongo-2.2.2 spec/support/crud_tests/read/distinct.yml
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/mongo-2.2.1/spec/support/crud_tests/read/distinct.yml
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/mongo-2.2.1/spec/support/crud_tests/read/distinct.yml
mongo-2.2.1 spec/support/crud_tests/read/distinct.yml
mongo-2.2.0 spec/support/crud_tests/read/distinct.yml
mongo-2.2.0.rc0 spec/support/crud_tests/read/distinct.yml
mongo-2.1.2 spec/support/crud_tests/read/distinct.yml
mongo-2.1.1 spec/support/crud_tests/read/distinct.yml
mongo-2.1.0 spec/support/crud_tests/read/distinct.yml
mongo-2.1.0.rc0 spec/support/crud_tests/read/distinct.yml
mongo-2.1.0.beta spec/support/crud_tests/read/distinct.yml
mongo-2.0.6 spec/support/crud_tests/read/distinct.yml