dolthub / dolthub/dolt

`last_commit_hash()` function

Open
#6,055 0 comments 1 reaction 1 assignee Claimed by @zachmu View on GitHub
enhancement sql version control
Dominant language
Go
Stars
24.5k
Forks
873
Avg merge
1d 8h
Merged PRs (30d)
120

Description

Mysql provides `LAST_INSERT_ID()` for clients to get the database-created ID from the last `INSERT` statement on an auto-increment table.

Similarly, Dolt should provide a `LAST_COMMIT_HASH()` function for the last commit hash generated by `call dolt_commit()` or via `@@dolt_transaction_commit`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.