In support of exporting data to CSV, rather than running the optic plan, return the output of Plan.export(), which can then be passed into the v1/rows MarkLogic REST API call.
A complication is that it is currently not possible to export deserialized cts.query() objects.
In support of exporting data to CSV, rather than running the optic plan, return the output of Plan.export(), which can then be passed into the v1/rows MarkLogic REST API call.
A complication is that it is currently not possible to export deserialized cts.query() objects.