1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
-- test-run result file version 2
test_run = require('test_run').new()
| ---
| ...
space = box.schema.space.create('gh-5132-multikey', {engine = test_run:get_cfg('engine')})
| ---
| ...
space:format({{name = "attributes", type = "array"}, {name = "uid", type = "string"}})
| ---
| ...
_ = space:create_index('primary', {name = "uid", parts = {{field = "uid"}}})
| ---
| ...
_ = space:create_index('secondary', {name = "kv", parts = {{field = "attributes", path = "[*].key", type = "string"}}})
| ---
| ...
space:drop()
| ---
| ...
|