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

Bulk Improvements #312

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Bulk Improvements #312

wants to merge 7 commits into from

Conversation

aersam
Copy link

@aersam aersam commented Sep 21, 2023

No description provided.

@aersam aersam marked this pull request as ready for review November 21, 2023 08:00
@aersam aersam mentioned this pull request Nov 21, 2023
if options.bits() > 0 || order_hints.len() > 0 {
let mut add_separator = false;
query.push_str(" WITH (");
if options.contains(SqlBulkCopyOptions::KeepNulls) {
Copy link

Choose a reason for hiding this comment

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

Can't you use bitflags's Flag::iter and join to simplify the whole separator business?

@ibotty
Copy link

ibotty commented Jan 24, 2024

It would be great to have this pull request merged.

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

3 participants