Debian Codegraph @

test/command/suite/select/function/in_records/one.expected

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Reports TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Reports user COLUMN_SCALAR Users
6 [[0,0.0,0.0],true]
7 table_create Logs TABLE_NO_KEY
8 [[0,0.0,0.0],true]
9 column_create Logs user COLUMN_SCALAR Users
10 [[0,0.0,0.0],true]
11 load --table Reports
12 [
13 {"user": "alice"},
14 {"user": "david"}
15 ]
16 [[0,0.0,0.0],2]
17 load --table Logs
18 [
19 {"user": "alice"},
20 {"user": "bob"},
21 {"user": "chris"},
22 {"user": "david"}
23 ]
24 [[0,0.0,0.0],4]
25 select Logs --filter 'in_records(Reports, user, "==", "user")'
26 [
27 [
28 0,
29 0.0,
30 0.0
31 ],
32 [
33 [
34 [
35 2
36 ],
37 [
38 [
39 "_id",
40 "UInt32"
41 ],
42 [
43 "user",
44 "Users"
45 ]
46 ],
47 [
48 1,
49 "alice"
50 ],
51 [
52 4,
53 "david"
54 ]
55 ]
56 ]
57 ]