MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / parse_begin

Method parse_begin

src/sql-parser/src/parser.rs:8796–8801  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

8794 }
8795
8796 fn parse_begin(&mut self) -> Result<Statement<Raw>, ParserError> {
8797 let _ = self.parse_one_of_keywords(&[TRANSACTION, WORK]);
8798 Ok(Statement::StartTransaction(StartTransactionStatement {
8799 modes: self.parse_transaction_modes(false)?,
8800 }))
8801 }
8802
8803 fn parse_transaction_modes(
8804 &mut self,

Callers 1

parse_statement_innerMethod · 0.80

Calls 2

parse_one_of_keywordsMethod · 0.80

Tested by

no test coverage detected