@@ -9,18 +9,6 @@ Syntactic sugar to allow writing WOQL.triple()... instead of new WOQLQuery().tri
99Every function matches one of the public api functions of the woql query object
1010
1111
12- ## eval
13- ##### WOQL.eval ⇒ <code >WOQLQuery</code >
14- Evaluates the passed arithmetic expression and generates or matches the result value
15-
16- ** Returns** : <code >WOQLQuery</code > - WOQLQuery
17-
18- | Param | Type | Description |
19- | --- | --- | --- |
20- | arithExp | <code >object</code > \| <code >WOQLQuery</code > \| <code >string</code > | query or JSON-LD representing the query |
21- | resultVarName | <code >string</code > | output variable |
22-
23-
2412## using
2513##### WOQL.using(refPath, subquery) ⇒ <code >WOQLQuery</code >
2614Query running against any specific commit Id
@@ -531,6 +519,18 @@ let [result] = vars("result")
531519evaluate (plus (2 , minus (3 , 1 )), result)
532520```
533521
522+ ## eval
523+ ##### WOQL.eval(arithExp, resultVarName) ⇒ <code >WOQLQuery</code >
524+ Evaluates the passed arithmetic expression and generates or matches the result value
525+
526+ ** Returns** : <code >WOQLQuery</code > - WOQLQuery
527+
528+ | Param | Type | Description |
529+ | --- | --- | --- |
530+ | arithExp | <code >object</code > \| <code >WOQLQuery</code > \| <code >string</code > | query or JSON-LD representing the query |
531+ | resultVarName | <code >string</code > | output variable |
532+
533+
534534## plus
535535##### WOQL.plus(...args) ⇒ <code >WOQLQuery</code >
536536Adds the numbers together
0 commit comments