| 1 |
table_create Entries TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Entries body COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Entries tag_ids COLUMN_VECTOR UInt32 |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Entries |
| 8 |
[ |
| 9 |
{"body": "1 2 3", "tag_ids": [1, 2, 3]} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
select Entries --filter "tag_ids @ 2 && body @ '3'" --output_columns "highlight_html(body)" |
| 13 |
[ |
| 14 |
[ |
| 15 |
0, |
| 16 |
0.0, |
| 17 |
0.0 |
| 18 |
], |
| 19 |
[ |
| 20 |
[ |
| 21 |
[ |
| 22 |
1 |
| 23 |
], |
| 24 |
[ |
| 25 |
[ |
| 26 |
"highlight_html", |
| 27 |
null |
| 28 |
] |
| 29 |
], |
| 30 |
[ |
| 31 |
"1 2 <span class=\"keyword\">3</span>" |
| 32 |
] |
| 33 |
] |
| 34 |
] |
| 35 |
] |