PreparePlan.prototype.explain( format as String ) as Plan
This method returns a representation of the builtin execution plan.
Parameters | |
---|---|
format |
The format of the returned plan, expressed as
a lower-case string. This can be either json (default)
or xml .
|
explain
is a method of the following classes:
const op = require('/MarkLogic/optic'); op.fromView('main', 'employees') .select(['EmployeeID', 'FirstName', 'LastName']) .orderBy('EmployeeID') .explain();
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.