marklogic-debugger icon indicating copy to clipboard operation
marklogic-debugger copied to clipboard

Ad-hoc query support?

Open RobertSzkutak opened this issue 7 years ago • 1 comments

Is it possible to write and debug a one-off ad-hoc query? Only way I could see to do this is inserting a query into the modules database being used and then running it via the debugger. Would be convenient if I could paste it into code mirror and go.

RobertSzkutak avatar Aug 07 '17 02:08 RobertSzkutak

To answer @RobertSzkutak -- Im still having problems building this app -- (npm+sass+wtf) -- but you can do a 1-off ad-hoq query with xmlsh xmlsh
www.xmlsh.org

import module ml=marklogic
MLCONNECT=xcc://user:pass@host:port
ml:query 'cts:uris()'

I'd like to integrate a debugger -- and so was looking at this repo, which looks quite promising. if only I could figure out the npm-foo magic.

DALDEI avatar Mar 13 '18 17:03 DALDEI