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

Method parse_exists_expr

src/sql-parser/src/parser.rs:1030–1035  ·  view source on GitHub ↗

Parse a SQL EXISTS expression e.g. `WHERE EXISTS(SELECT ...)`.

(&mut self)

Source from the content-addressed store, hash-verified

1028
1029 /// Parse a SQL EXISTS expression e.g. `WHERE EXISTS(SELECT ...)`.
1030 fn parse_exists_expr(&mut self) -> Result<Expr<Raw>, ParserError> {
1031 self.expect_token(&Token::LParen)?;
1032 let exists_node = Expr::Exists(Box::new(self.parse_query()?));
1033 self.expect_token(&Token::RParen)?;
1034 Ok(exists_node)
1035 }
1036
1037 fn parse_homogenizing_function(
1038 &mut self,

Callers 1

parse_prefixMethod · 0.80

Calls 2

expect_tokenMethod · 0.80
parse_queryMethod · 0.45

Tested by

no test coverage detected