By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
VERSION() |
---|
8.0.30 |
JSON_CONTAINS_PATH(@`properties`, 'one', '$.images') AND IFNULL(JSON_LENGTH( JSON_SEARCH(@`properties`, 'all', '%', NULL, '$.images[*].icon') ) = @`MAX_LENGTH`, 0) AND IFNULL(JSON_LENGTH( JSON_SEARCH(@`properties`, ' |
---|
0 |
JSON_CONTAINS_PATH(@`properties`, 'one', '$.images') AND IFNULL(JSON_LENGTH( JSON_SEARCH(@`properties`, 'all', '%', NULL, '$.images[*].icon') ) = @`MAX_LENGTH`, 0) AND IFNULL(JSON_LENGTH( JSON_SEARCH(@`properties`, ' |
---|
1 |