File tree Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -35,4 +35,12 @@ impl DataHandler {
35
35
tables : HashMap :: new ( ) ,
36
36
}
37
37
}
38
+
39
+ pub fn create_new_table ( ) {
40
+ //TODO: implement
41
+ }
42
+
43
+ pub fn insert_into_table ( ) {
44
+ //TODO: implement
45
+ }
38
46
}
Original file line number Diff line number Diff line change @@ -43,4 +43,57 @@ impl Table {
43
43
rows : HashMap :: new ( ) ,
44
44
}
45
45
}
46
+
47
+ //TODO: implement all these functions
48
+ fn generate_unique_id ( ) {
49
+ //TODO: implement
50
+ }
51
+
52
+ fn verify_id ( ) {
53
+ //TODO: implement
54
+ }
55
+
56
+ fn verify_field ( ) {
57
+ //TODO: implement
58
+ }
59
+
60
+ fn verify_rows ( ) {
61
+ //TODO: implement
62
+ }
63
+
64
+ fn verify_column_names_correct ( ) {
65
+ //TODO: implement
66
+ }
67
+
68
+ fn verify_id_and_field ( ) {
69
+ //TODO: implement
70
+ }
71
+
72
+ fn verify_id_and_columns ( ) {
73
+ //TODO: implement
74
+ }
75
+
76
+ pub fn row_is_empty ( ) {
77
+ //TODO: implement
78
+ }
79
+
80
+ pub fn get_field_value ( ) {
81
+ //TODO: implement
82
+ }
83
+
84
+ pub fn add_row ( ) {
85
+ //TODO: implement
86
+ }
87
+
88
+ pub fn return_row ( ) {
89
+ //TODO: implement
90
+ }
91
+
92
+ pub fn remove_row ( ) {
93
+ //TODO: implement
94
+ }
95
+
96
+ pub fn update_row_field_values ( ) {
97
+ //TODO: implement
98
+ }
46
99
}
You can’t perform that action at this time.
0 commit comments