Parse a query segment without UNWIND: MATCH [WHERE] WITH
(tokens: &[Token])
| 718 | |
| 719 | /// Parse a query segment without UNWIND: MATCH [WHERE] WITH |
| 720 | fn query_segment_no_unwind(tokens: &[Token]) -> IResult<&[Token], QuerySegment> { |
| 721 | map( |
| 722 | tuple((match_clause, opt(where_clause), opt(with_clause))), |
| 723 | |(match_clause, where_clause, with_clause)| QuerySegment { |
| 724 | match_clause, |
| 725 | where_clause, |
| 726 | with_clause, |
| 727 | unwind_clause: None, |
| 728 | post_unwind_where: None, |
| 729 | location: Location::default(), |
| 730 | }, |
| 731 | )(tokens) |
| 732 | } |
| 733 | |
| 734 | /// Parse WITH query: MATCH ... WITH ... [MATCH ... WITH ...] RETURN ... |
| 735 | fn with_query(tokens: &[Token]) -> IResult<&[Token], Query> { |
nothing calls this directly
no outgoing calls
no test coverage detected