How to Index JSON Fields in MySQL with Generated and Functional Indexes
This guide explains why MySQL cannot index JSON columns directly and demonstrates two practical work‑arounds—using generated columns in MySQL 5.7 and functional indexes in MySQL 8.0.13—to efficiently index a nested request.email field for fast queries.
