AccessPlan.prototype.explain( [format as String], [options as String[]] ) as Plan
This method returns a representation of the builtin execution plan.
explain
is a method of the following classes:
const op = require('/MarkLogic/optic'); op.fromView('main', 'employees') .select(['EmployeeID', 'FirstName', 'LastName']) .orderBy('EmployeeID') .explain();
const op = require('/MarkLogic/optic'); op.fromView('main', 'employees') .select(['EmployeeID', 'FirstName', 'LastName']) .orderBy('EmployeeID') .explain('json', ['seed=0','optimize=1']);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.