Skip to main content

try_parse

Function try_parse 

Source
pub fn try_parse(sql: &str) -> Option<NodedbStatement>
Expand description

Entry point: returns Some when sql starts with a graph DSL keyword (GRAPH ..., MATCH ..., OPTIONAL MATCH ...), else None so the main DDL parser can continue trying other cases.