Skip to content

Commit 31b34e2

Browse files
Fixing documentation in WOQL client.
1 parent 3f5a4b5 commit 31b34e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/woqlClient.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,8 @@ WOQLClient.prototype.getDocument = function (params, dbId, branch, lastDataVersi
12301230
* @param {string} [lastDataVersion] the last data version tracking id.
12311231
* @param {boolean} [getDataVersion] If true the function will return object having result
12321232
* and dataVersion.
1233-
* @param {boolean} [create] If true, the function will create a new document if it doesn't exist.
1233+
* @param {boolean} [compress] If true, the function will create a new document if it doesn't exist.
1234+
* @param {boolean} [create] Perform an *upsert* which inserts if the document is not present (also works on nested documents)
12341235
* @returns {Promise} A promise that returns the call response object or object having *result*
12351236
* and *dataVersion* object if ***getDataVersion*** parameter is true, or an Error if rejected.
12361237
* @example

0 commit comments

Comments
 (0)