(no title)
Hakkin | 9 months ago
CREATE INDEX subjectidx ON messages(json_extract(headers, '$.Subject'))
and it will use this index anywhere you reference that expression.I find it useful to create indexes like this, then create VIEWs using these expressions instead of ALTER'ing the main table with generated columns.
pkhuong|9 months ago
snthpy|9 months ago
randito|9 months ago