Syntax:
sql
CASE
WHEN expression1 THEN expression1
WHEN expression2 THEN expression2
WHEN expressionN THEN expressionN
ELSE expression
END;
sql
CASE
WHEN frontmatter->status = 'Todo' THEN 'âšī¸'
WHEN frontmatter->status = 'In progress' THEN 'đ'
WHEN frontmatter->status = 'Blocked' THEN 'đ'
WHEN frontmatter->status = 'Done' THEN 'â
'
ELSE 'â'
END AS StatusEmoji