diff --git a/q/query.go b/q/query.go index ded018f..27ea0c8 100644 --- a/q/query.go +++ b/q/query.go @@ -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 } diff --git a/q/select_test.go b/q/select_test.go index ee31297..cd20c2f 100644 --- a/q/select_test.go +++ b/q/select_test.go @@ -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) }