Ciao,
nel costruttore stringhe di espressione vorrei inserire, nella stessa espressione, due o più condizioni come quelle sotto riportate.
Come unisco in una sola espressione queste due sotto riportate? Qualche aiuto?
Grazie
case
when
amenity in (‘restaurant’,‘cafe’,‘pub’,‘bar’,‘fast_food’)
then
‘{ “color”: “OrangeRed” }’
end
case
when
tourism in (‘hotel’,‘apartment’,‘camp_site’,‘chalet’,‘guest_house’,‘alpine_hut’)
then
‘{ “color”: “DeepSkyBlue” }’
end
Roberto