Skip to content

Commit aceb3ad

Browse files
authored
TODO added
1 parent 703e5ac commit aceb3ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

functions/unicode_unescape.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ create or replace function public.unicode_unescape(text)
77
set search_path = ''
88
as
99
$func$
10+
-- input string - only as \uXXXX sequence
11+
-- TODO validate format and return NULL for invalid strings?
1012
select concat('"', $1, '"')::jsonb->>0;
1113
$func$;
1214

0 commit comments

Comments
 (0)