I want that by env variable (string) the varb_letter will get different data from my metadata.
here is what I tried to do.
Can u assist?
thanks!!!
varb_letter: (( env("LANDSCAPE") == 'a' ? asjson(.metadata.a) : env("LANDSCAPE") == 'b' ? asjson(.metadata.b) : env("LANDSCAPE") == 'c' ? asjson(.metadata.c) ))
metadata:
a:
b:
c:
env variable control on the variable data, I'm getting errors of wrong syntax