@@ -10,14 +10,14 @@ Every function matches one of the public api functions of the woql query object
10
10
11
11
12
12
## using
13
- ##### WOQL.using(refPath, subquery) ⇒ <code >WOQLQuery</code >
13
+ ##### WOQL.using(refPath, [ subquery] ) ⇒ <code >WOQLQuery</code >
14
14
Query running against any specific commit Id
15
15
16
16
17
17
| Param | Type | Description |
18
18
| --- | --- | --- |
19
19
| refPath | <code >string</code > | path to specific reference Id or commit Id |
20
- | subquery | <code >WOQLQuery</code > | subquery for the specific commit point |
20
+ | [ subquery] | <code >WOQLQuery</code > | subquery for the specific commit point |
21
21
22
22
** Example**
23
23
``` javascript
@@ -26,14 +26,14 @@ WOQL.using("userName/dbName/local/commit|branch/commitID").triple(a, b, c)
26
26
```
27
27
28
28
## comment
29
- ##### WOQL.comment(comment, subquery) ⇒ <code >WOQLQuery</code >
29
+ ##### WOQL.comment(comment, [ subquery] ) ⇒ <code >WOQLQuery</code >
30
30
Adds a text comment to a query - can also be used to wrap any part of a query to turn it off
31
31
32
32
33
33
| Param | Type | Description |
34
34
| --- | --- | --- |
35
35
| comment | <code >string</code > | text comment |
36
- | subquery | <code >WOQLQuery</code > | query that is "commented out" |
36
+ | [ subquery] | <code >WOQLQuery</code > | query that is "commented out" |
37
37
38
38
39
39
## select
@@ -182,15 +182,15 @@ Specifies the database URL that will be the default database for the enclosed qu
182
182
183
183
184
184
## into
185
- ##### WOQL.into(graphRef-, subquery) ⇒ <code >WOQLQuery</code >
185
+ ##### WOQL.into(graphRef-, [ subquery] ) ⇒ <code >WOQLQuery</code >
186
186
Specifies the graph resource to write the contained query into
187
187
188
188
** Returns** : <code >WOQLQuery</code > - A WOQLQuery which will be written into the graph in question
189
189
190
190
| Param | Type | Description |
191
191
| --- | --- | --- |
192
192
| graphRef- | <code >typedef.GraphRef</code > | A valid graph resource identifier string |
193
- | subquery | <code >WOQLQuery</code > | The query which will be written into the graph |
193
+ | [ subquery] | <code >WOQLQuery</code > | The query which will be written into the graph |
194
194
195
195
** Example**
196
196
``` javascript
@@ -1361,13 +1361,13 @@ literal(1, "nonNegativeInteger")
1361
1361
1362
1362
## date
1363
1363
##### WOQL.date(date) ⇒ <code >object</code >
1364
- Generates explicitly a JSON-LD string date literal from the input
1364
+ Generates explicitly a JSON-LD literal date from the imput
1365
1365
1366
- ** Returns** : <code >object</code > - - A JSON-LD literal
1366
+ ** Returns** : <code >object</code > - - A JSON-LD literal date
1367
1367
1368
1368
| Param | Type | Description |
1369
1369
| --- | --- | --- |
1370
- | date | <code >string</code > | any date string format YYYY-MM-DD |
1370
+ | date | <code >string</code > | any date format string ( YYYY-MM-DD) |
1371
1371
1372
1372
** Example**
1373
1373
``` javascript
@@ -1376,14 +1376,14 @@ date("2022-10-02")
1376
1376
```
1377
1377
1378
1378
## datetime
1379
- ##### WOQL.datetime(date ) ⇒ <code >object</code >
1380
- Generates explicitly a JSON-LD string datetime literal from the input
1379
+ ##### WOQL.datetime(datetime ) ⇒ <code >object</code >
1380
+ Generates explicitly a JSON-LD literal datetime from the imput
1381
1381
1382
- ** Returns** : <code >object</code > - - A JSON-LD literal
1382
+ ** Returns** : <code >object</code > - - A JSON-LD literal datetime
1383
1383
1384
1384
| Param | Type | Description |
1385
1385
| --- | --- | --- |
1386
- | date | <code >string</code > | any datetime string format YYYY-MM-DDThh-mm-ssZ |
1386
+ | datetime | <code >string</code > | any datetime format string ( YYYY-MM-DDThh-mm-ssZ) |
1387
1387
1388
1388
** Example**
1389
1389
``` javascript
@@ -1393,9 +1393,9 @@ datetime("2022-10-19T14:17:12Z")
1393
1393
1394
1394
## boolean
1395
1395
##### WOQL.boolean(bool) ⇒ <code >object</code >
1396
- Generates explicitly a JSON-LD boolean literal from the input
1396
+ Generates explicitly a JSON-LD literal boolean from the input
1397
1397
1398
- ** Returns** : <code >object</code > - - A JSON-LD literal
1398
+ ** Returns** : <code >object</code > - - A JSON-LD literal boolean
1399
1399
1400
1400
| Param | Type | Description |
1401
1401
| --- | --- | --- |
0 commit comments