JSON_EXISTS
Checks whether a JSON document contains a value at a specified path.
Analyze Syntax
func.json_exists(get_column(table, 'data'), '$.name')
Analyze Examples
func.json_exists(get_column(table, 'data'), '$.name')
┌───┐
│ 1 │
└───┘
SQL Syntax
JSON_EXISTS(<data>, '$.name')
SQL Examples
SELECT JSON_EXISTS(PARSE_JSON('{"name":"Alice"}'), '$.name');
┌───┐
│ 1 │
└───┘