validateSyntax
Function: validateSyntax()
validateSyntax(
query):void
Defined in: packages/ql/src/query.ts:891
Check a query against the WebdaQL grammar without evaluating it
Unlike QueryValidator, unbound ? / :name parameters are accepted, so a
query can be checked before its parameters are bound.
Parameters
query
string
the query string
Returns
void
Throws
if the query does not follow the grammar