| 1 |
table_create Memos TABLE_HASH_KEY ShortText |
| 2 |
column_create Memos tag COLUMN_SCALAR ShortText |
| 3 |
|
| 4 |
load --table Memos |
| 5 |
[ |
| 6 |
{"_key": "Groonga is fast", "tag": "groonga"}, |
| 7 |
{"_key": "Mroonga is fast", "tag": "mroonga"}, |
| 8 |
{"_key": "Rroonga is fast", "tag": "rroonga"}, |
| 9 |
{"_key": "Droonga is fast", "tag": "droonga"}, |
| 10 |
{"_key": "Groonga is a HTTP server", "tag": "groonga"} |
| 11 |
] |
| 12 |
|
| 13 |
select Memos \ |
| 14 |
--output_columns _key,tag \ |
| 15 |
--filter 'all_records() && in_values(tag, "groonga", "mroonga", "droonga")' \ |
| 16 |
--sortby _id |