Skip to content

support on update current_timestamp#2188

Merged
jycor merged 61 commits intomainfrom
james/update
Dec 15, 2023
Merged

support on update current_timestamp#2188
jycor merged 61 commits intomainfrom
james/update

Conversation

@jycor
Copy link
Copy Markdown
Contributor

@jycor jycor commented Dec 6, 2023

This PR adds support for handling and executing ON UPDATE column expressions, which are triggered when an update is applied to any column in the row.

TODO:

  • we support now() for default, but not the syntax for on update

fixes dolthub/dolt#6030

Copy link
Copy Markdown
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but see comments

Copy link
Copy Markdown
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ON UPDATE CURRENT_TIMESTAMP in column definition does not update TIMESTAMP

3 participants