In MySQL, we can use the ->
operator to extract data from a JSON document.
We provide the column that contains the JSON document to the left of the operator, and the path to the value that we want to extract to the right.
The ->
operator is an alias for the two-argument form of the JSON_EXTRACT()
function.