feat: added functionality for insert and select

This commit is contained in:
TakshakRamteke committed 2026-07-23 23:40:10 +05:30
1 parent c719848c25
commit e625b29d3c
2 files changed
+7 -6

No files matched your search

+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) {