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

Method parse_retain_history

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

Source from the content-addressed store, hash-verified

4197 }
4198
4199 fn parse_retain_history(&mut self) -> Result<WithOptionValue<Raw>, ParserError> {
4200 let _ = self.consume_token(&Token::Eq);
4201 self.expect_keyword(FOR)?;
4202 let value = self.parse_value()?;
4203 Ok(WithOptionValue::RetainHistoryFor(value))
4204 }
4205
4206 fn parse_materialized_view_refresh_option_value(
4207 &mut self,

Callers 2

parse_alter_viewsMethod · 0.80

Calls 3

consume_tokenMethod · 0.80
expect_keywordMethod · 0.80
parse_valueMethod · 0.80

Tested by

no test coverage detected