Howdy! With the inability to use LET in an update/upsert query, and the inability to create temp tables, is there any suggestion on how to update multiple documents with random values? Pseudo code of what I’m attempting to accomplish:
UPDATE vehicle SET color=all_colors[FLOOR(RANDOM() * 3)]
LET all_colors = ['Red', 'Blue', 'Yellow']
WHERE vehicle_stage='paint'
Obviously, this doesn’t work due to LET not being available. Suggestions? Thanks!