Skip to content

Commit 85ea3d3

Browse files
committed
Documentation updates for calling dolt_reflog() without any arguments
1 parent 116e74e commit 85ea3d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/reference/sql/version-control/dolt-sql-functions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,10 +824,11 @@ There are no special privileges required to use the `dolt_reflog()` table functi
824824
### Options
825825

826826
```sql
827+
DOLT_REFLOG()
827828
DOLT_REFLOG(<ref_name>)
828829
```
829830

830-
The `dolt_reflog()` table function takes one argument: the name of the ref to query. This can be the name of a branch (e.g. "myBranch") or the name of a tag (e.g. "v1.1.4") or it can be the fully qualified ref path (e.g. "refs/heads/myBranch"). The `ref_name` parameter is case-insensitive.
831+
The `dolt_reflog()` table function can be called with no arguments or with one argument. If called without any arguments, it will return the full reference log, which lists changes from newest to oldest for all tracked references. If called with one argument, that argument is the name of a ref to query. This can be the name of a branch (e.g. "myBranch") or the name of a tag (e.g. "v1.1.4") or it can be the fully qualified ref path (e.g. "refs/heads/myBranch"). The `ref_name` parameter is case-insensitive.
831832

832833
### Schema
833834

0 commit comments

Comments
 (0)