MySQL error code
MySQL error 3986
MySQL server error 3986 is ER_IMPLICIT_COMPARISON_FOR_JSON, reported with SQLSTATE HY000.
Evaluating a JSON value in SQL boolean context does an implicit comparison against JSON integer 0; if this is not what you want, consider converting JSON to a SQL numeric type with JSON_VALUE RETURNING
| Error | 3986 |
|---|---|
| Name | ER_IMPLICIT_COMPARISON_FOR_JSON |
| SQLSTATE | HY000 |
| Group | Server errors |
Source: MySQL 8.4 Error Reference