Type alias ParseResult

ParseResult: {
    ast: AstNode[];
    bindVars: string[];
    collections: string[];
    parsed: boolean;
}

Result of parsing a query.

Type declaration

  • ast: AstNode[]

    Abstract syntax tree (AST) of the query.

  • bindVars: string[]

    Names of all bind parameters used in the query.

  • collections: string[]

    Names of all collections involved in the query.

  • parsed: boolean

    Whether the query was parsed.

Generated using TypeDoc