| 1 |
table_create Users TABLE_HASH_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 user COLUMN_SCALAR Users |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Bookmarks |
| 8 |
[ |
| 9 |
{"_key": "http://groonga.org/", "user": "mori"} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
select Bookmarks --output_columns _key,user._key --output_type xml |
| 13 |
<?xml version="1.0" encoding="utf-8"?> |
| 14 |
<SEGMENTS> |
| 15 |
<SEGMENT> |
| 16 |
<RESULTPAGE> |
| 17 |
<RESULTSET OFFSET="0" LIMIT="1" NHITS="1"> |
| 18 |
<HIT NO="1"> |
| 19 |
<FIELD NAME="_key">http://groonga.org/</FIELD> |
| 20 |
<FIELD NAME="user._key">mori</FIELD> |
| 21 |
</HIT> |
| 22 |
</RESULTSET> |
| 23 |
</RESULTPAGE> |
| 24 |
</SEGMENT> |
| 25 |
</SEGMENTS> |
| 26 |
|
| 27 |
|