EndsInSemicolon returns true if the last lexical token is a semicolon.
(sql string)
| 1016 | |
| 1017 | // EndsInSemicolon returns true if the last lexical token is a semicolon. |
| 1018 | func EndsInSemicolon(sql string) bool { |
| 1019 | lastTok, ok := LastLexicalToken(sql) |
| 1020 | return ok && lastTok == ';' |
| 1021 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…