Skip to content

Add WithUpdateReturning function to specify columns to return#28

Merged
roneli merged 2 commits intoroneli:mainfrom
yarinba:feature/add-update-returning-columns
Mar 16, 2025
Merged

Add WithUpdateReturning function to specify columns to return#28
roneli merged 2 commits intoroneli:mainfrom
yarinba:feature/add-update-returning-columns

Conversation

@yarinba
Copy link
Contributor

@yarinba yarinba commented Mar 16, 2025

Changes

  • Added WithUpdateReturning function in update.go that accepts column names and builds a RETURNING clause with those specific columns
  • Added a test case in update_test.go to verify the functionality works as expected

Copy link
Owner

@roneli roneli left a comment

Choose a reason for hiding this comment

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

LGTM, needs to pass linting first.

@roneli roneli merged commit 7c6df26 into roneli:main Mar 16, 2025
2 checks passed
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.

2 participants