Debian Codegraph @

test/command/suite/delete/reference/cross.test

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 table_create URLs TABLE_HASH_KEY ShortText
3
4 column_create Users bookmarks COLUMN_VECTOR URLs
5 column_create URLs author COLUMN_SCALAR Users
6
7 column_create URLs bookmarks_index COLUMN_INDEX Users bookmarks
8
9 load --table Users
10 [
11 {
12 "_key": "mori",
13 "bookmarks": [
14 "http://mroonga.org/",
15 "https://pgroonga.github.io",
16 "http://groonga.org/",
17 "http://ranguba.org/"
18 ]
19 }
20 ]
21
22 load --table URLs
23 [
24 {"_key": "http://groonga.org/", "author": "mori"}
25 ]
26
27 delete URLs --key "http://groonga.org/"
28
29 dump