Debian Codegraph @

test/command/suite/select/function/in_values/with_index/hash_key.test

raw
1 table_create Memos TABLE_HASH_KEY ShortText
2 column_create Memos tag COLUMN_SCALAR ShortText
3
4 table_create Tags TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
5 column_create Tags memos_tag COLUMN_INDEX Memos tag
6
7 load --table Memos
8 [
9 {"_key": "Groonga is fast", "tag": "Groonga"},
10 {"_key": "Mroonga is fast", "tag": "Mroonga"},
11 {"_key": "Rroonga is fast", "tag": "Rroonga"}
12 ]
13
14 #@add-ignore-log-pattern /\A\[io\]/
15 #@add-important-log-levels info
16 log_level --level info
17
18 select Memos \
19 --filter 'in_values(tag, "groonga", "mroonga")' \
20 --output_columns _key,tag
21
22 log_level --level notice
23 #@remove-ignore-log-pattern /\A\[io\]/
24 #@remove-important-log-levels info