Debian Codegraph @

test/command/suite/select/function/string/string_truncate/options/omission/normal.expected

raw
1 plugin_register functions/string
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 load --table Memos
6 [
7 {"_key": "Groonga"}
8 ]
9 [[0,0.0,0.0],1]
10 select Memos --output_columns '_key, string_truncate(_key, 4, {"omission" : "**"})'
11 [
12 [
13 0,
14 0.0,
15 0.0
16 ],
17 [
18 [
19 [
20 1
21 ],
22 [
23 [
24 "_key",
25 "ShortText"
26 ],
27 [
28 "string_truncate",
29 null
30 ]
31 ],
32 [
33 "Groonga",
34 "Gr**"
35 ]
36 ]
37 ]
38 ]