Specifying object key in a query for an array of objects


I have a field that stores an array of objects that looks like this:


    "assists": 0,
    "deaths": 0,
    "hero": "hero_name",
    "team": 2,
    "playerId": 0,
    "steamId": "1234",
    "kills": 0,

how do i use rest api to get results for which “assists”: 0? I tried where={"players": {"assists": 0}} but I suspect I might not be understanding how to utilize rest api correctly…

Try where={"players.assists": 0}

1 Like