Debian Codegraph @

test/command/suite/select/function/snippet/leading_space.expected

raw
1 table_create Entries TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Entries content COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 load --table Entries
6 [
7 {"content": "groonga and MySQL"}
8 ]
9 [[0,0.0,0.0],1]
10 select Entries --output_columns ' snippet(content, "MySQL", "<span class=\\"keyword\\">", "</span>", {"skip_leading_spaces": false} )'
11 [
12 [
13 0,
14 0.0,
15 0.0
16 ],
17 [
18 [
19 [
20 1
21 ],
22 [
23 [
24 "snippet",
25 null
26 ]
27 ],
28 [
29 [
30 "groonga and<span class=\"keyword\"> MySQL</span>"
31 ]
32 ]
33 ]
34 ]
35 ]