Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the 3rd parameter of op.fromSPARQL #599

Closed
llinggit opened this issue Aug 31, 2021 · 0 comments
Closed

Expose the 3rd parameter of op.fromSPARQL #599

llinggit opened this issue Aug 31, 2021 · 0 comments
Assignees
Milestone

Comments

@llinggit
Copy link

This is for bug 56465. The new 3rd parameter is options, which could be dedup or base. Need to expose this parameter in Node Client API.

const op = require('/MarkLogic/optic');
op.fromSPARQL('PREFIX ad: http://marklogicsparql.com/addressbook# '+
'SELECT ?firstName '+
'WHERE {<#5555> ad:firstName ?firstName .}'
, 'sparql', {dedup:'on',base:'http://marklogicsparql.com/id#'})
.result();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants