Debian Codegraph @

doc/source/example/reference/commands/table_rename/usage.log

raw
1 Execution example::
2
3 table_create Users TABLE_PAT_KEY ShortText
4 # [[0,1337566253.89858,0.000355720520019531],true]
5 column_create Users score COLUMN_SCALAR Int32
6 # [[0,1337566253.89858,0.000355720520019531],true]
7 load --table Users
8 [
9 {"_key": "Alice", "score": 2},
10 {"_key": "Bob", "score": 0},
11 {"_key": "Carlos", "score": -1}
12 ]
13 # [[0,1337566253.89858,0.000355720520019531],3]
14 table_rename Users Players
15 # [[0,1337566253.89858,0.000355720520019531],true]
16 table_list
17 # [
18 # [
19 # 0,
20 # 1337566253.89858,
21 # 0.000355720520019531
22 # ],
23 # [
24 # [
25 # [
26 # "id",
27 # "UInt32"
28 # ],
29 # [
30 # "name",
31 # "ShortText"
32 # ],
33 # [
34 # "path",
35 # "ShortText"
36 # ],
37 # [
38 # "flags",
39 # "ShortText"
40 # ],
41 # [
42 # "domain",
43 # "ShortText"
44 # ],
45 # [
46 # "range",
47 # "ShortText"
48 # ],
49 # [
50 # "default_tokenizer",
51 # "ShortText"
52 # ],
53 # [
54 # "normalizer",
55 # "ShortText"
56 # ]
57 # ],
58 # [
59 # 256,
60 # "Players",
61 # "${DB_PATH}.0000100",
62 # "TABLE_PAT_KEY|PERSISTENT",
63 # "ShortText",
64 # null,
65 # null,
66 # null
67 # ]
68 # ]
69 # ]
70 select Players
71 # [
72 # [
73 # 0,
74 # 1337566253.89858,
75 # 0.000355720520019531
76 # ],
77 # [
78 # [
79 # [
80 # 3
81 # ],
82 # [
83 # [
84 # "_id",
85 # "UInt32"
86 # ],
87 # [
88 # "_key",
89 # "ShortText"
90 # ],
91 # [
92 # "score",
93 # "Int32"
94 # ]
95 # ],
96 # [
97 # 1,
98 # "Alice",
99 # 2
100 # ],
101 # [
102 # 2,
103 # "Bob",
104 # 0
105 # ],
106 # [
107 # 3,
108 # "Carlos",
109 # -1
110 # ]
111 # ]
112 # ]
113 # ]