Skip to content

Commit f763c7a

Browse files
rrooijgithub-actions[bot]
authored andcommitted
Apply docs changes
1 parent 09d2e81 commit f763c7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/api/woqlclient.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ const response1 = await client.getDocument({"graph_type":"schema","as_list":true
896896
```
897897
898898
## updateDocument
899-
##### woqlClient.updateDocument(json, [params], [dbId], [message], [lastDataVersion], [getDataVersion], [create]) ⇒ <code>Promise</code>
899+
##### woqlClient.updateDocument(json, [params], [dbId], [message], [lastDataVersion], [getDataVersion], [compress], [create]) ⇒ <code>Promise</code>
900900
**Returns**: <code>Promise</code> - A promise that returns the call response object or object having *result*
901901
and *dataVersion* object if ***getDataVersion*** parameter is true, or an Error if rejected.
902902
@@ -908,7 +908,8 @@ and *dataVersion* object if ***getDataVersion*** parameter is true, or an Error
908908
| [message] | <code>\*</code> | the update commit message |
909909
| [lastDataVersion] | <code>string</code> | the last data version tracking id. |
910910
| [getDataVersion] | <code>boolean</code> | If true the function will return object having result and dataVersion. |
911-
| [create] | <code>boolean</code> | If true, the function will create a new document if it doesn't exist. |
911+
| [compress] | <code>boolean</code> | If true, the function will create a new document if it doesn't exist. |
912+
| [create] | <code>boolean</code> | Perform an *upsert* which inserts if the document is not present (also works on nested documents) |
912913
913914
**Example**
914915
```javascript

0 commit comments

Comments
 (0)