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

Reuse query builder and insert #962

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

garymardell
Copy link
Contributor

Just a tiny PR but I noticed that for each update and insert it is calling update_query and insert_sql respectively twice rather than re-using the same generated object.

Copy link
Member

@jwoertink jwoertink left a comment

Choose a reason for hiding this comment

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

👍 nice catch!

@jwoertink jwoertink merged commit 29d89ad into luckyframework:main Aug 10, 2023
8 of 9 checks passed
@garymardell garymardell deleted the insert-sql-dup branch August 10, 2023 21:44
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.

None yet

2 participants