| 1 |
table_create Tags TABLE_PAT_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Tags category COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Memos TABLE_HASH_KEY ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Memos tag COLUMN_SCALAR Tags |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Memos |
| 10 |
[ |
| 11 |
{"_key": "Groonga is fast!", "tag": "Groonga"}, |
| 12 |
{"_key": "Mroonga is fast!", "tag": "Mroonga"}, |
| 13 |
{"_key": "Groonga sticker!", "tag": "Groonga"}, |
| 14 |
{"_key": "Rroonga is fast!", "tag": "Rroonga"} |
| 15 |
] |
| 16 |
[[0,0.0,0.0],4] |
| 17 |
load --table Tags |
| 18 |
[ |
| 19 |
{"_key": "Groonga", "category": "C/C++"}, |
| 20 |
{"_key": "Mroonga", "category": "C/C++"}, |
| 21 |
{"_key": "Rroonga", "category": "Ruby"} |
| 22 |
] |
| 23 |
[[0,0.0,0.0],3] |
| 24 |
select Memos --drilldowns[invalid].keys nonexistent --drilldowns[nonexistent_table].table invalid |
| 25 |
[ |
| 26 |
[ |
| 27 |
0, |
| 28 |
0.0, |
| 29 |
0.0 |
| 30 |
], |
| 31 |
[ |
| 32 |
[ |
| 33 |
[ |
| 34 |
4 |
| 35 |
], |
| 36 |
[ |
| 37 |
[ |
| 38 |
"_id", |
| 39 |
"UInt32" |
| 40 |
], |
| 41 |
[ |
| 42 |
"_key", |
| 43 |
"ShortText" |
| 44 |
], |
| 45 |
[ |
| 46 |
"tag", |
| 47 |
"Tags" |
| 48 |
] |
| 49 |
], |
| 50 |
[ |
| 51 |
1, |
| 52 |
"Groonga is fast!", |
| 53 |
"Groonga" |
| 54 |
], |
| 55 |
[ |
| 56 |
2, |
| 57 |
"Mroonga is fast!", |
| 58 |
"Mroonga" |
| 59 |
], |
| 60 |
[ |
| 61 |
3, |
| 62 |
"Groonga sticker!", |
| 63 |
"Groonga" |
| 64 |
], |
| 65 |
[ |
| 66 |
4, |
| 67 |
"Rroonga is fast!", |
| 68 |
"Rroonga" |
| 69 |
] |
| 70 |
], |
| 71 |
{} |
| 72 |
] |
| 73 |
] |
| 74 |
#|w| [table-sort-key][string] ignore invalid sort key: <nonexistent>: table:<Memos> keys:<nonexistent> |
| 75 |
#|w| [select][drilldowns][nonexistent_table][table] doesn't exist: <invalid> |