Skip to content

Bulk Improvements#312

Open
aersam wants to merge 7 commits intoprisma:mainfrom
aersam:bulk
Open

Bulk Improvements#312
aersam wants to merge 7 commits intoprisma:mainfrom
aersam:bulk

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.

@fnicastri
Copy link

@aersam @janpio any progress on this?

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.

4 participants