Skip to content

Commit 302f90e

Browse files
CopilotPhenX
andcommitted
Update comment for Oracle MERGE syntax per code review
Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
1 parent 622ee0c commit 302f90e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PhenX.EntityFrameworkCore.BulkInsert.Oracle/OracleDialectBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public override string BuildMoveDataSql<T>(
6969
q.AppendJoin(" AND ", matchColumns, (b, col) => b.Append($"{PseudoTableInserted}.{col} = {PseudoTableExcluded}.{col}"));
7070
q.AppendLine(")");
7171

72-
// Oracle MERGE puts WHEN NOT MATCHED before WHEN MATCHED for insert-first logic
72+
// Oracle MERGE syntax: WHEN NOT MATCHED clause for inserts, followed by WHEN MATCHED clause for updates
7373
q.Append("WHEN NOT MATCHED THEN INSERT (");
7474
q.AppendColumns(insertedColumns);
7575
q.AppendLine(")");

0 commit comments

Comments
 (0)