TestParseDistinctModifier_All checks that SELECT ALL is consumed without error and leaves Distinct=false.
(t *testing.T)
| 118 | // TestParseDistinctModifier_All checks that SELECT ALL is consumed without error |
| 119 | // and leaves Distinct=false. |
| 120 | func TestParseDistinctModifier_All(t *testing.T) { |
| 121 | stmt := parseSQLWithDialect(t, "SELECT ALL id FROM users", keywords.DialectPostgreSQL) |
| 122 | if stmt.Distinct { |
| 123 | t.Error("SELECT ALL must not set Distinct=true") |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | // ----------------------------------------------------------------------------- |
| 128 | // parseTopClause |
nothing calls this directly
no test coverage detected