Latest

Thursday, July 6, 2017

Collection select items on aggregate unique values

Asked by: Stefano Maglione


is there a way to select from a collection items on unique values?
For example:

    {
        "identifier": 1,
        "name": "Robert",
        "lastname": "Brown",
        "age": "30"
    },
    {
        "identifier": 2,
        "name": "Robert",
        "lastname": "Brown",
        "age": "30"
    }

In this collection I would like to get only one of the two items because they have same name,lastname and age.



Source

No comments:

Post a Comment

Adbox