loading...

re: 7 challenges for querying with GROQ VIEW POST

FULL DISCUSSION
 

Spoiler alert...

For challenge 7 I was able to filter after the projection, but must use the column name of the projection, not the original data.

*[]{
  "name": name.english,
  "attack": base.Attack,
  "evaluation": select(
    base.Attack < 83 => "weak",
    base.Attack < 124 => "average",
    "strong"
  )
}|order(attack)
code of conduct - report abuse