Skip to main content

parse_with_query

Function parse_with_query 

Source
pub fn parse_with_query(pair: Pair<'_, Rule>) -> Result<WithQuery>
Expand description

Parse a WITH query (query with Common Table Expressions)

Syntax:

WITH
    cte1 AS (query1),
    cte2 AS (query2),
    RECURSIVE cte3(col1, col2) AS (query3)
main_query