콘텐츠로 이동

지정한 경로를 사용하여 JSON 객체에서 불리언 값을 추출합니다.

func.get_json_bool(get_column(table, 'data'), '$.active')
func.get_json_bool(get_column(table, 'data'), '$.active')
┌───┐
│ 1 │
└───┘
GET_JSON_BOOL(<data>, '$.active')
SELECT GET_JSON_BOOL('{"active": true}', '$.active');
┌───┐
│ 1 │
└───┘