I have a JSON field with one-dimensional array. In fact, in this field I have a list of some IDs, like this:
[347470, 162063, 17315, 346852, 174776, 295865, 7833, 136813]
In my queries I refer this field like this:
... AND JSON_CONTAINS(`users_actions`, 174776)=0
My question is: should I create an index for this field, and if so - which exactly index should I use?