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