pub fn parse(input: &str) -> Result<Query, Error>
Expand description
Parses a SurrealQL Query
During query parsing, the total depth of calls to parse values (including arrays, expressions,
functions, objects, sub-queries), Javascript values, and geometry collections count against
a computation depth limit. If the limit is reached, parsing will return
Error::ComputationDepthExceeded
, as opposed to spending more time and potentially
overflowing the call stack.
If you encounter this limit and believe that it should be increased, please open an issue!