Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e8b8d5a

Browse files
authored
Update json_unnest_recursive.sql
1 parent 9f9e0a4 commit e8b8d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎functions/json_unnest_recursive.sql‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ order by level, member_of, path;
5454

5555
/*
5656
-- Example: find all emails in JSON data
57-
select path, value#>>'{}' as email
57+
select path, value#>>'{}' as email
5858
from public.json_unnest_recursive('[{"name":"Mike", "age": 45, "emails":[null, "mike.1977@gmail.com"]}]'::json)
5959
where json_typeof(value) = 'string'
60-
and public.is_email(value#>>'{}');
60+
and public.is_email(value#>>'{}');
6161
*/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /