| 1 |
table_create Tags TABLE_PAT_KEY ShortText |
| 2 |
|
| 3 |
table_create Memos TABLE_HASH_KEY ShortText |
| 4 |
column_create Memos tag COLUMN_SCALAR Tags |
| 5 |
|
| 6 |
load --table Memos |
| 7 |
[ |
| 8 |
{"_key": "Groonga is fast!", "tag": "Groonga"}, |
| 9 |
{"_key": "Mroonga is fast!", "tag": "Mroonga"}, |
| 10 |
{"_key": "Groonga sticker!", "tag": "Groonga"}, |
| 11 |
{"_key": "Rroonga is fast!", "tag": "Rroonga"} |
| 12 |
] |
| 13 |
|
| 14 |
log_level --level debug |
| 15 |
#@add-important-log-levels debug |
| 16 |
#@add-ignore-log-pattern /\A\[io\]/ |
| 17 |
#@collect-query-log true |
| 18 |
select Memos \ |
| 19 |
--slices[no_rroonga].filter '_id < 4' \ |
| 20 |
--slices[no_rroonga].drilldowns[tag].keys tag |
| 21 |
#@collect-query-log false |
| 22 |
#@remove-ignore-log-pattern /\A\[io\]/ |
| 23 |
#@remove-important-log-levels debug |
| 24 |
log_level --level notice |