Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Dec 2, 2024
1 parent 5c8b74d commit dd07a04
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/query/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,7 @@ where
self.query.columns(columns.iter().cloned().flatten());

// flag used column
for col in columns.iter() {
self.columns.push(col.is_some());
}
self.columns = columns.iter().map(Option::is_some).collect();
}

for values in all_values {
Expand Down

0 comments on commit dd07a04

Please sign in to comment.