Debian Codegraph @

test/command/suite/select/slices/query.expected

raw
1 table_create Tags TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Memos date COLUMN_SCALAR Time
6 [[0,0.0,0.0],true]
7 column_create Memos tag COLUMN_SCALAR Tags
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga is fast!", "date": "2016-05-19 12:00:00", "tag": "Groonga"},
12 {"_key": "Mroonga is fast!", "date": "2016-05-19 12:00:01", "tag": "Mroonga"},
13 {"_key": "Groonga sticker!", "date": "2016-05-19 12:00:02", "tag": "Groonga"},
14 {"_key": "Rroonga is fast!", "date": "2016-05-19 12:00:03", "tag": "Rroonga"}
15 ]
16 [[0,0.0,0.0],4]
17 select Memos --slices[groonga].query 'tag:Groonga'
18 [
19 [
20 0,
21 0.0,
22 0.0
23 ],
24 [
25 [
26 [
27 4
28 ],
29 [
30 [
31 "_id",
32 "UInt32"
33 ],
34 [
35 "_key",
36 "ShortText"
37 ],
38 [
39 "date",
40 "Time"
41 ],
42 [
43 "tag",
44 "Tags"
45 ]
46 ],
47 [
48 1,
49 "Groonga is fast!",
50 1463626800.0,
51 "Groonga"
52 ],
53 [
54 2,
55 "Mroonga is fast!",
56 1463626801.0,
57 "Mroonga"
58 ],
59 [
60 3,
61 "Groonga sticker!",
62 1463626802.0,
63 "Groonga"
64 ],
65 [
66 4,
67 "Rroonga is fast!",
68 1463626803.0,
69 "Rroonga"
70 ]
71 ],
72 {
73 "groonga": [
74 [
75 2
76 ],
77 [
78 [
79 "_id",
80 "UInt32"
81 ],
82 [
83 "_key",
84 "ShortText"
85 ],
86 [
87 "date",
88 "Time"
89 ],
90 [
91 "tag",
92 "Tags"
93 ]
94 ],
95 [
96 1,
97 "Groonga is fast!",
98 1463626800.0,
99 "Groonga"
100 ],
101 [
102 3,
103 "Groonga sticker!",
104 1463626802.0,
105 "Groonga"
106 ]
107 ]
108 }
109 ]
110 ]