Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add modifyEnd to insert, update and delete query builders #871

Merged
merged 13 commits into from
Jul 9, 2024

Conversation

thelinuxlich
Copy link
Contributor

closes #835

Copy link

vercel bot commented Feb 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kysely ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 5:11am

Copy link
Member

@igalklebanov igalklebanov left a comment

Choose a reason for hiding this comment

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

Thank you! 💪

This looks good and functional.

I think it should be simplified for now, and not straight up copied from select - select's case required a node, due to structured and unstructured modifiers, and as of late of.

@thelinuxlich thelinuxlich changed the title add modifyFront/modifyEnd to insert, update and delete query builders add modifyEnd to insert, update and delete query builders Apr 29, 2024
@thelinuxlich
Copy link
Contributor Author

maybe we should add modifyEnd to MergeQueryBuilder as well.. but it's tricky (the split to multiple builders). I think anywhere .top(...) exists can also have a modifyEnd there.

Done!

@igalklebanov igalklebanov added enhancement New feature or request api Related to library's API labels Apr 30, 2024
Copy link
Member

@igalklebanov igalklebanov left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@igalklebanov igalklebanov merged commit f84feb3 into kysely-org:master Jul 9, 2024
12 checks passed
koskimas pushed a commit that referenced this pull request Jul 14, 2024
thecodrr pushed a commit to thecodrr/kysely that referenced this pull request Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to library's API enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add modifyFront/modifyEnd to all queryBuilder classes
2 participants