| 1 |
table_create Tags TABLE_PAT_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Bookmarks TABLE_HASH_KEY ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Bookmarks tag COLUMN_SCALAR Tags |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Tags index COLUMN_INDEX Bookmarks tag |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Bookmarks |
| 10 |
[ |
| 11 |
{"_key": "http://groonga.org/", "tag": "groonga"}, |
| 12 |
{"_key": "http://mroonga.org/", "tag": ""} |
| 13 |
] |
| 14 |
[[0,0.0,0.0],2] |
| 15 |
select Bookmarks --query 'tag:\"nonexistent\"' |
| 16 |
[[0,0.0,0.0],[[[0],[["_id","UInt32"],["_key","ShortText"],["tag","Tags"]]]]] |