| 1 |
table_create Records TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Records short_text COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Records text COLUMN_SCALAR Text |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Records |
| 8 |
[ |
| 9 |
{"short_text": "a", "text": "b"} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
log_level --level debug |
| 13 |
[[0,0.0,0.0],true] |
| 14 |
select Records --match_columns 'short_text || text' --query 'a OR b' |
| 15 |
[ |
| 16 |
[ |
| 17 |
0, |
| 18 |
0.0, |
| 19 |
0.0 |
| 20 |
], |
| 21 |
[ |
| 22 |
[ |
| 23 |
[ |
| 24 |
0 |
| 25 |
], |
| 26 |
[ |
| 27 |
[ |
| 28 |
"_id", |
| 29 |
"UInt32" |
| 30 |
], |
| 31 |
[ |
| 32 |
"short_text", |
| 33 |
"ShortText" |
| 34 |
], |
| 35 |
[ |
| 36 |
"text", |
| 37 |
"Text" |
| 38 |
] |
| 39 |
] |
| 40 |
] |
| 41 |
] |
| 42 |
] |
| 43 |
log_level --level notice |
| 44 |
[[0,0.0,0.0],true] |