JSONFieldText, JSONFieldEquals and JSONFieldOrder read an item field value by its JSON type, identically on both dialects (BUG-3221; the rule is in dialect_fieldvalue.go). Use them, not JSONExtractText, wherever a field value is compared, counted, grouped, sorted or shown.
(column, key string)
| 43 | // rule is in dialect_fieldvalue.go). Use them, not JSONExtractText, |
| 44 | // wherever a field value is compared, counted, grouped, sorted or shown. |
| 45 | JSONFieldText(column, key string) string |
| 46 | JSONFieldEquals(column, key, arg string) (string, []any) |
| 47 | // JSONFieldEqualsParts is JSONFieldEquals in two halves: the STRING |
| 48 | // branch, which leads with the bare extract compared to the argument so an |
no outgoing calls
no test coverage detected