Skip to content

Commit 4afe0de

Browse files
committed
review commits query
1 parent da3e90a commit 4afe0de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/query/woqlLibrary.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ WOQLLibrary.prototype.branches = function(){//values, variables, cresource) {
3333
* @param {number} timestamp - Unix timestamp in seconds
3434
*/
3535

36-
WOQLLibrary.prototype.commits = function (branch="main",limit,timestamp){
36+
WOQLLibrary.prototype.commits = function (branch="main",limit,start,timestamp){
3737
const woql = new WOQLQuery().using("_commits")
3838
if(limit) woql.limit(limit)
39+
if(start) woql.start(start)
3940
woql.select("v:Parent ID","v:Commit ID","v:Time","v:Author", "v:Branch ID","v:Message")
4041

4142
const andArr= [ new WOQLQuery().triple("v:Branch", "name", new WOQLQuery().string(branch))

0 commit comments

Comments
 (0)