-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
triageissue to be triageissue to be triage
Description
For performance and convenience reasons we need path to be optional.
Not sure precisely what the code is, but something like this:
WOQLQuery.prototype.path = function(Subject, Pattern, Object, Path) {
if (this.cursor['@type']) this.wrapCursorWithAnd()
this.cursor['@type'] = 'Path'
this.cursor['subject'] = this.cleanSubject(Subject)
if (typeof Pattern == 'string') Pattern = this.compilePathPattern(Pattern)
this.cursor['pattern'] = Pattern
this.cursor['object'] = this.cleanObject(Object)
if(typeof Path != 'undefined'){
this.cursor['path'] = this.varj(Path)
}
return this
}Metadata
Metadata
Assignees
Labels
triageissue to be triageissue to be triage