feat: added functionality for insert and select
This commit is contained in:
@@ -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