Skip to content

Expose the 3rd parameter of op.fromSPARQL #599

Closed
@llinggit

Description

@llinggit

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();

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions