explain method

Plans and optionally executes this query. Returns a Promise that will be resolved with the planner information, statistics from the query execution (if any), and the query results (if any).

@return A Promise that will be resolved with the planner information, statistics from the query execution (if any), and the query results (if any).

Implementation

external JSPromise<ExplainResults<QuerySnapshot>> explain(
  ExplainOptions options,
);