Debian Codegraph @

test/command/suite/load/short_text/cast/bool.expected

raw
1 table_create Entries TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Entries is_published COLUMN_SCALAR Bool
4 [[0,0.0,0.0],true]
5 load --table Entries
6 [
7 {"_key": "(empty)", "is_published": ""},
8 {"_key": "0", "is_published": "0"},
9 {"_key": "1", "is_published": "1"},
10 {"_key": "(null)", "is_published": null}
11 ]
12 [[0,0.0,0.0],4]
13 select Entries
14 [
15 [
16 0,
17 0.0,
18 0.0
19 ],
20 [
21 [
22 [
23 4
24 ],
25 [
26 [
27 "_id",
28 "UInt32"
29 ],
30 [
31 "_key",
32 "ShortText"
33 ],
34 [
35 "is_published",
36 "Bool"
37 ]
38 ],
39 [
40 1,
41 "(empty)",
42 false
43 ],
44 [
45 2,
46 "0",
47 true
48 ],
49 [
50 3,
51 "1",
52 true
53 ],
54 [
55 4,
56 "(null)",
57 false
58 ]
59 ]
60 ]
61 ]