1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Execution example::
table_create Pies TABLE_NO_KEY
# [[0,1337566253.89858,0.000355720520019531],true]
column_create Pies name COLUMN_SCALAR Text
# [[0,1337566253.89858,0.000355720520019531],true]
table_create Keywords TABLE_PAT_KEY ShortText --default_tokenizer 'TokenTable("table", "Keywords")'
# [[0,1337566253.89858,0.000355720520019531],true]
column_create Keywords index COLUMN_INDEX Pies name
# [[0,1337566253.89858,0.000355720520019531],true]
load --table Keywords
[
{"_key": "Apple"},
{"_key": "Orange"},
{"_key": "Raspberry"}
]
# [[0,1337566253.89858,0.000355720520019531],3]
load --table Pies
[
{"name": "Apple Pie"},
{"name": "Orange Pie"},
{"name": "Raspberry Pie"},
{"name": "Stargazy Pie"}
]
# [[0,1337566253.89858,0.000355720520019531],4]
|