Skip to main content

parse_many

Function parse_many 

Source
pub fn parse_many(input: &str) -> Result<Vec<Statement>, QueryError>
Expand description

Parses a ;-separated batch of one or more statements (e.g. "CREATE (a); CREATE (b); MATCH (n) RETURN n"). A ; inside a string literal doesn’t split anything — see queries’ grammar comment.