Debian Codegraph @

test/command/suite/column_create/vector/source/online/generator_scalar.test

raw
1 table_create Notes TABLE_NO_KEY
2 column_create Notes title_html COLUMN_SCALAR ShortText
3 column_create Notes title_text COLUMN_SCALAR ShortText title_html \
4 --generator 'html_untag(title_html)'
5
6 load --table Notes
7 [
8 {"title_html": "Hello <em>Groonga</em>"},
9 {"title_html": "<i>Hello</i> <em>Mroonga</em>"}
10 ]
11
12 select Notes --output_columns title_html,title_text
13
14 dump