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

chore(inserter): adding a parameter to specify the include pk field for the inserter #109

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

Jacobbrewer1
Copy link
Owner

Describe your changes

This pull request includes a change to the WithIncludePrimaryKey function in the inserter/batch_opts.go file to make it more flexible by allowing the caller to specify whether to include the primary key.

Function modification:

  • inserter/batch_opts.go: The WithIncludePrimaryKey function has been updated to accept a boolean parameter includePrimaryKey, which allows the caller to specify whether the primary key should be included in the insert.

@Jacobbrewer1 Jacobbrewer1 enabled auto-merge (squash) February 6, 2025 08:49
@Jacobbrewer1 Jacobbrewer1 merged commit 209d8ec into main Feb 6, 2025
6 checks passed
@Jacobbrewer1 Jacobbrewer1 deleted the chore/inserter-include-opts branch February 6, 2025 08:51
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.

1 participant