pub fn parse_document(
document: &Value,
) -> Result<ParsedQuery, QueryDocumentError>Expand description
Parse a complete query document into its execution model.
ยงErrors
Returns QueryDocumentError::Parse when the document shape is invalid
and QueryDocumentError::Unsupported when it uses an unsupported
construct.