Debian Codegraph @

test/command/suite/column_rename/index/multiple_columns.test

raw
1 table_create Memos TABLE_NO_KEY
2 column_create Memos title COLUMN_SCALAR ShortText
3 column_create Memos content COLUMN_SCALAR Text
4
5 table_create Terms TABLE_PAT_KEY ShortText \
6 --normalizer NormalizerAuto \
7 --default_tokenizer TokenBigram
8 column_create Terms memos COLUMN_INDEX|WITH_SECTION|WITH_POSITION \
9 Memos title,content
10
11 load --table Memos
12 [
13 {"title": "Groonga", "content": "Groonga is fast."}
14 ]
15
16 column_rename Terms memos memos_index
17
18 dump
19
20 select Memos --query "content:@groonga"