refact: remove DataType from conditional

This commit is contained in:
Yehoshua Sandler 2025-04-24 21:09:52 -05:00
parent 5380215a56
commit 005bbe7d60
2 changed files with 0 additions and 4 deletions

View File

@ -25,7 +25,6 @@ type Conditional struct {
Key string
Operator string
Value string
DataType string // TODO: not something we can parse from string, but find a way to determine this later
Extension string // AND, OR, etc
}

View File

@ -181,9 +181,6 @@ func TestParseSelectStatement(t *testing.T) {
if expectedCondition.Value != answer.Conditionals[i].Value {
t.Errorf("got %s for Select.Conditionals[%d].Value, expected %s", answer.Conditionals[i].Value, i, expectedCondition.Value)
}
if expectedCondition.DataType != answer.Conditionals[i].DataType {
t.Errorf("got %s for Select.Conditionals[%d].DataType, expected %s", answer.Conditionals[i].DataType, i, expectedCondition.DataType)
}
if expectedCondition.Extension != answer.Conditionals[i].Extension {
t.Errorf("got %s for Select.Conditionals[%d].Extension, expected %s", answer.Conditionals[i].Extension, i, expectedCondition.Extension)
}