Debian Codegraph @

test/command/suite/select/drilldown/plain/output_columns/reference.test

raw
1 table_create Tags TABLE_PAT_KEY ShortText
2 column_create Tags label COLUMN_SCALAR ShortText
3
4 table_create Memos TABLE_HASH_KEY ShortText
5 column_create Memos tag COLUMN_SCALAR Tags
6
7 load --table Tags
8 [
9 {"_key": "groonga", "label": "Groonga"},
10 {"_key": "mroonga", "label": "Mroonga"},
11 {"_key": "rroonga", "label": "Rroonga"}
12 ]
13
14 load --table Memos
15 [
16 {"_key": "Groonga is fast!", "tag": "groonga"},
17 {"_key": "Mroonga is fast!", "tag": "mroonga"},
18 {"_key": "Groonga sticker!", "tag": "groonga"},
19 {"_key": "Rroonga is fast!", "tag": "rroonga"},
20 {"_key": "Groonga is good!", "tag": "groonga"}
21 ]
22
23 select Memos \
24 --filter true \
25 --drilldown tag \
26 --drilldown_output_columns _key,label,_nsubrecs