1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
pub(super) const SAFE_PURE_FUNCTIONS: &[&str] = &[
"coalesce",
"nullif",
"lower",
"upper",
"btrim",
"ltrim",
"rtrim",
"trim",
"substr",
"substring",
"left",
"right",
"length",
"char_length",
"character_length",
"octet_length",
"replace",
"split_part",
"abs",
"ceil",
"ceiling",
"floor",
"round",
"trunc",
"greatest",
"least",
"date_trunc",
"extract",
"date_part",
"md5",
"sha256",
"encode",
"decode",
"jsonb_extract_path",
"jsonb_extract_path_text",
"json_extract_path",
"json_extract_path_text",
];