| 1 |
table_create Tags TABLE_PAT_KEY ShortText |
| 2 |
column_create Tags category COLUMN_SCALAR ShortText |
| 3 |
|
| 4 |
table_create Memos TABLE_HASH_KEY ShortText |
| 5 |
column_create Memos tag COLUMN_SCALAR Tags |
| 6 |
|
| 7 |
load --table Memos |
| 8 |
[ |
| 9 |
{"_key": "Groonga is fast!", "tag": "Groonga"}, |
| 10 |
{"_key": "Mroonga is fast!", "tag": "Mroonga"}, |
| 11 |
{"_key": "Groonga sticker!", "tag": "Groonga"}, |
| 12 |
{"_key": "Rroonga is fast!", "tag": "Rroonga"} |
| 13 |
] |
| 14 |
|
| 15 |
load --table Tags |
| 16 |
[ |
| 17 |
{"_key": "Groonga", "category": "C/C++"}, |
| 18 |
{"_key": "Mroonga", "category": "C/C++"}, |
| 19 |
{"_key": "Rroonga", "category": "Ruby"} |
| 20 |
] |
| 21 |
|
| 22 |
select Memos \ |
| 23 |
--drilldowns[invalid].keys nonexistent \ |
| 24 |
--drilldowns[nonexistent_table].table invalid |