Skip to content

Commit c1d8850

Browse files
rrooijgithub-actions[bot]
authored andcommitted
Apply docs changes
1 parent 88d4d9a commit c1d8850

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

docs/api/woqlclient.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,29 +1393,6 @@ client.apply("mybranch","mybranch_new","merge main").then(result=>{
13931393
Get the document's history for a specific database or branch
13941394
13951395
1396-
| Param | Type | Description |
1397-
| --- | --- | --- |
1398-
| id | <code>string</code> | id of document to report history of |
1399-
| [historyParams] | <code>typedef.DocHistoryParams</code> | |
1400-
1401-
**Example**
1402-
```javascript
1403-
//this will return the last 5 commits for the Person/Anna document
1404-
client.checkout("mybranch")
1405-
client.docHistory("Person/Anna",{start:0,count:5}).then(result=>{
1406-
console.log(result)
1407-
})
1408-
//this will return the last and the first commit for the Person/Anna document
1409-
client.docHistory("Person/Anna",{updated:true,created:true}).then(result=>{
1410-
console.log(result)
1411-
})
1412-
```
1413-
1414-
## docHistory
1415-
##### woqlClient.docHistory(id, [historyParams])
1416-
Get the document's history for a specific database or branch
1417-
1418-
14191396
| Param | Type | Description |
14201397
| --- | --- | --- |
14211398
| id | <code>string</code> | id of document to report history of |

0 commit comments

Comments
 (0)