pub fn try_parse(sql: &str) -> Option<Result<NodedbStatement, SqlError>>Expand description
Parse a graph DSL statement.
None means the input is not graph DSL and the caller should keep trying
other statement families. Some(Err(..)) means it is graph DSL and is
malformed — the two must stay apart, because returning None for a
malformed statement sends it to the general SQL parser, which can only
report that GRAPH is not an SQL statement and says nothing about the
clause actually at fault.