Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
pseason in ('2','3')

Key visibility

On a sélectionné une visibilité parmi les trois choix possibles, on demande donc les agrégatsWe have selected a visibility among the three possible choices, so we ask for the aggregates.

Aggregate

For that key, the aggregate is defined by

...

Code Block
languagesql
pvisibility in ('1')

Key authorizedchannel

On affiche ces choix dans le même menu, on passe donc une demande d’agrégats pour ceux-ciWe display these choices in the same menu, so we make a request for aggregates for them.

Aggregate

For that key, the aggregate is defined by

...

Code Block
languagejson
{
   "authorizedchannel": [
      {
         "count": 5,
         "total": 5,
         "data": {
            "id": 2,
            "$uuid": "9d5cjmcq3bc14"
         }
      },
      {
         "count": 1,
         "total": 1,
         "data": {
            "id": 3,
            "$uuid": "p99yz8eb7jxw1"
         }
      },
      {
         "count": 3,
         "total": 3,
         "data": {
            "id": 5,
            "$uuid": "8ges4hm9qkm3w"
         }
      },
      {
         "count": 5,
         "total": 5,
         "data": {
            "id": 7,
            "$uuid": "y8u51b9u4h95k"
         }
      },
      {
         "count": 0,
         "total": 0,
         "data": {
            "id": 1,
            "$uuid": "75u6r8xas31bw"
         }
      },
      {
         "count": 0,
         "total": 0,
         "data": {
            "id": 4,
            "$uuid": "78j1ko1ds3my1"
         }
      },
      {
         "count": 0,
         "total": 0,
         "data": {
            "id": 6,
            "$uuid": "3gr11uwby8mo6"
         }
      }
   ],
   "visibility": [
      {
         "count": 177,
         "total": 0,
         "data": {
            "id": 2,
            "$uuid": "9d5cjmcq3bc14"
         }
      },
      {
         "count": 126,
         "total": 0,
         "data": {
            "id": 3,
            "$uuid": "p99yz8eb7jxw1"
         }
      },
      {
         "count": 6287,
         "total": 41,
         "data": {
            "id": 1,
            "$uuid": "75u6r8xas31bw"
         }
      }
   ],
   "season": [
      {
         "count": 910,
         "total": 21,
         "data": {
            "id": 2,
            "$uuid": "9d5cjmcq3bc14"
         }
      },
      {
         "count": 20,
         "total": 20,
         "data": {
            "id": 3,
            "$uuid": "p99yz8eb7jxw1"
         }
      }
   ]
}

Display

Here is how the visibilitvisibility/authorized channels is displayed:

...