feat: added functionality for insert and select
This commit is contained in:
1 parent
b2a61c66e4
commit
c719848c25
2 files changed
+90
-10
No files matched your search
@@ -38,8 +38,12 @@ func Run() {
|
||||
continue
|
||||
}
|
||||
|
||||
statement.ExecuteStatement(table)
|
||||
fmt.Println("Executed")
|
||||
switch statement.ExecuteStatement(table) {
|
||||
case ExecuteSuccess:
|
||||
fmt.Println("Executed.")
|
||||
case ExecuteTableFull:
|
||||
fmt.Println("Error: Table is full")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user