feat: added functionality for insert and select

This commit is contained in:
2026-07-23 23:40:10 +05:30
parent c719848c25
commit e625b29d3c
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -33,9 +33,10 @@ func Run() {
switch statement.PrepareStatements(inputBuffer) {
case PrepareSuccess:
//todo
case PrepareSyntaxError:
fmt.Println("Syntax error, could not parse statement")
case PrepareUnrecognised:
fmt.Printf("Unrecognised keyword at the start of '%s'.\n", inputBuffer.Buffer)
continue
}
switch statement.ExecuteStatement(table) {