public.scramble
Blocks
Loops
Branches
Block Coverage
Loop Coverage
Branch Coverage
1
0
0
100.00%
-1
-1
CREATE FUNCTION
public.scramble
(
IN
subject
text
,
OUT
scrambled
text
,
OUT
first
character
)
RETURNS
record
STABLE
1
2
3
4
begin
scrambled
:=
substring($1, 1, (random() * length($1))::integer);
first
:=
substring($1, 1, 1);
end
Notes
Generated by piggly 2.2.4 at April 18, 2018 21:04 CDT
Return to index