MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / having_clause

Function having_clause

graphlite/src/ast/parser.rs:1544–1552  ·  view source on GitHub ↗

Parse HAVING clause: HAVING expression

(tokens: &[Token])

Source from the content-addressed store, hash-verified

1542
1543/// Parse HAVING clause: HAVING expression
1544fn having_clause(tokens: &[Token]) -> IResult<&[Token], HavingClause> {
1545 map(
1546 tuple((expect_token(Token::Having), expression)),
1547 |(_, condition)| HavingClause {
1548 condition,
1549 location: Location::default(),
1550 },
1551 )(tokens)
1552}
1553
1554/// Parse LIMIT clause: LIMIT count [OFFSET offset]
1555fn limit_clause(tokens: &[Token]) -> IResult<&[Token], LimitClause> {

Callers

nothing calls this directly

Calls 1

expect_tokenFunction · 0.85

Tested by

no test coverage detected