Debian Codegraph @

test/command/suite/select/drilldown/plain/sort_keys.test

raw
1 table_create Memos TABLE_HASH_KEY ShortText
2 column_create Memos tags COLUMN_VECTOR ShortText
3
4 load --table Memos
5 [
6 {"_key": "Groonga is fast!", "tags": ["Groonga"]},
7 {"_key": "Mroonga is fast!", "tags": ["Mroonga", "Groonga"]},
8 {"_key": "Groonga sticker!", "tags": ["Groonga"]},
9 {"_key": "Rroonga is fast!", "tags": ["Rroonga", "Groonga"]},
10 {"_key": "Groonga is good!", "tags": ["Groonga"]}
11 ]
12
13 #@collect-query-log true
14 select Memos \
15 --limit 0 \
16 --output_columns _id \
17 --drilldown tags \
18 --drilldown_output_columns _key,_nsubrecs \
19 --drilldown_sort_keys -_nsubrecs,_key
20 #@collect-query-log false