Debian Codegraph @

test/command/suite/select/function/in_values/with_index/sequential_search/reference.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Memos tag COLUMN_SCALAR Tags
6 [[0,0.0,0.0],true]
7 load --table Memos
8 [
9 {"_key": "Rroonga is fast!", "tag": "Rroonga"},
10 {"_key": "Groonga is fast!", "tag": "Groonga"},
11 {"_key": "Mroonga is fast!", "tag": "Mroonga"},
12 {"_key": "Groonga sticker!", "tag": "Groonga"},
13 {"_key": "Groonga is good!", "tag": "Groonga"}
14 ]
15 [[0,0.0,0.0],5]
16 column_create Tags memos_tag COLUMN_INDEX Memos tag
17 [[0,0.0,0.0],true]
18 select Memos --filter '_id >= 3 && in_values(tag, "Groonga")' --output_columns _id,_score,_key,tag
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 2
29 ],
30 [
31 [
32 "_id",
33 "UInt32"
34 ],
35 [
36 "_score",
37 "Int32"
38 ],
39 [
40 "_key",
41 "ShortText"
42 ],
43 [
44 "tag",
45 "Tags"
46 ]
47 ],
48 [
49 4,
50 2,
51 "Groonga sticker!",
52 "Groonga"
53 ],
54 [
55 5,
56 2,
57 "Groonga is good!",
58 "Groonga"
59 ]
60 ]
61 ]
62 ]