Debian Codegraph @

test/command/suite/select/function/snippet/cache.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": "<p>mroonga and MySQL</p>"},
8 {"content": "<p>pgroonga and PostgreSQL</p>"}
9 ]
10 [[0,0.0,0.0],2]
11 select Entries --output_columns ' snippet(content, "SQL", "<span class=\\"keyword\\">", "</span>" )'
12 [
13 [
14 0,
15 0.0,
16 0.0
17 ],
18 [
19 [
20 [
21 2
22 ],
23 [
24 [
25 "snippet",
26 null
27 ]
28 ],
29 [
30 [
31 "<p>mroonga and My<span class=\"keyword\">SQL</span></p>"
32 ]
33 ],
34 [
35 [
36 "<p>pgroonga and Postgre<span class=\"keyword\">SQL</span></p>"
37 ]
38 ]
39 ]
40 ]
41 ]