Debian Codegraph @

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

raw
1 table_create Tags TABLE_PAT_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 column_create Tags memos_tag COLUMN_INDEX Memos tag
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga is fast", "tag": "groonga"},
12 {"_key": "Mroonga is fast", "tag": "mroonga"},
13 {"_key": "Rroonga is fast", "tag": "rroonga"},
14 {"_key": "Droonga is fast", "tag": "droonga"},
15 {"_key": "Groonga is a HTTP server", "tag": "groonga"}
16 ]
17 [[0,0.0,0.0],5]
18 select Memos --output_columns _key,tag --filter 'all_records() && in_values(tag, "groonga", "mroonga", "droonga")' --sortby _id
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 4
29 ],
30 [
31 [
32 "_key",
33 "ShortText"
34 ],
35 [
36 "tag",
37 "Tags"
38 ]
39 ],
40 [
41 "Groonga is fast",
42 "groonga"
43 ],
44 [
45 "Mroonga is fast",
46 "mroonga"
47 ],
48 [
49 "Droonga is fast",
50 "droonga"
51 ],
52 [
53 "Groonga is a HTTP server",
54 "groonga"
55 ]
56 ]
57 ]
58 ]