We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GO
1 parent 80591f1 commit b5c523fCopy full SHA for b5c523f
src/parser/mod.rs
@@ -15133,6 +15133,16 @@ impl<'a> Parser<'a> {
15133
15134
/// Parse [Statement::Go]
15135
fn parse_go(&mut self) -> Result<Statement, ParserError> {
15136
+ // disambiguate between GO as batch delimiter & GO as identifier (etc)
15137
+ // compare:
15138
+ // ```sql
15139
+ // select 1 go
15140
+ // ```
15141
+ // vs
15142
15143
+ // select 1
15144
+ // go
15145
15146
self.expect_previously_only_whitespace_until_newline()?;
15147
15148
let count = loop {
0 commit comments