这里完整的新手,但我找到了一种方法来循环使用JSON数组REPEAT- UNTIL-END REPEAT
REPEAT
UNTIL
END REPEAT
REPEAT SET txt = JSON_EXTRACT(myjson, CONCAT("$[", indx, "]")); # use txt SET indx = indx + 1; UNTIL indx = JSON_LENGTH(myjson) END REPEAT;