mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
test error
This commit is contained in:
parent
a1c7e07c65
commit
96a40a88a3
1 changed files with 1 additions and 3 deletions
|
@ -6466,11 +6466,9 @@ impl<'a> Parser<'a> {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/// ```sql
|
|
||||||
/// CREATE [ { TEMPORARY | TEMP } ] SEQUENCE [ IF NOT EXISTS ] <sequence_name>
|
/// CREATE [ { TEMPORARY | TEMP } ] SEQUENCE [ IF NOT EXISTS ] <sequence_name>
|
||||||
/// ```
|
|
||||||
///
|
///
|
||||||
/// See [Postgres docs](https://www.postgresql.org/docs/current/sql-createsequence.html) for more details.
|
/// See https://www.postgresql.org/docs/current/sql-createsequence.html for more details
|
||||||
pub fn parse_create_sequence(&mut self, temporary: bool) -> Result<Statement, ParserError> {
|
pub fn parse_create_sequence(&mut self, temporary: bool) -> Result<Statement, ParserError> {
|
||||||
//[ IF NOT EXISTS ]
|
//[ IF NOT EXISTS ]
|
||||||
let if_not_exists = self.parse_keywords(&[Keyword::IF, Keyword::NOT, Keyword::EXISTS]);
|
let if_not_exists = self.parse_keywords(&[Keyword::IF, Keyword::NOT, Keyword::EXISTS]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue