table_create Purchases TABLE_NO_KEY
[[0,0.0,0.0],true]
column_create Purchases item COLUMN_SCALAR ShortText
[[0,0.0,0.0],true]
column_create Purchases price COLUMN_SCALAR UInt32
[[0,0.0,0.0],true]
table_create Settlements TABLE_HASH_KEY ShortText
[[0,0.0,0.0],true]
column_create Settlements purchases COLUMN_VECTOR Purchases
[[0,0.0,0.0],true]
column_create Purchases settlements_purchases COLUMN_INDEX Settlements purchases
[[0,0.0,0.0],true]
load --table Settlements
[
{
  "_key": "super market",
  "purchases": "[{\"item\": \"apple\", \"price\": 100},{\"item\": \"milk\",  \"price\": 200}]"
},
{
  "_key": "shoes shop",
  "purchases": "[{\"item\": \"sneakers\", \"price\": 3000}]"
}
]
[[0,0.0,0.0],2]
dump   --dump_plugins no   --dump_schema no
load --table Purchases
[
["_id","item","price"],
[1,"apple",100],
[2,"milk",200],
[3,"sneakers",3000]
]

load --table Settlements
[
["_key","purchases"],
["super market",[1,2]],
["shoes shop",[3]]
]

column_create Purchases settlements_purchases COLUMN_INDEX Settlements purchases
