jsonb_exists_path
jsonb_exists_pathβ
descriptionβ
It is used to judge whether the field specified by json_path exists in the JSONB data. If it exists, it returns TRUE, and if it does not exist, it returns FALSE
Syntaxβ
BOOLEAN jsonb_exists_path(JSONB j, VARCHAR json_path)
exampleβ
Refer to jsonb tutorial
keywordsβ
jsonb_exists_path