enumUpsertColumnSource
enum UpsertColumnSource
Which of the two rows an UPSERT assignment reads a column from.
A conflicting write has two rows in play: the one already there and the one the statement was trying to write. Every dialect spells the difference differently and this is what they all mean.
Cases§
case Existingcase IncomingTest cases 23§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 22
ConflictSearchTest::testOfIsNothingWhereTheIncomingRowTakesNoPartInTheNarrowedKeycallsConflictSearchTest::testOfLeavesOutTheRowsAlreadyThereThatTakeNoPartcallsConflictSearchTest::testOfReportsTheRowUnderTheKeyTheCallerKnowsItBycallsMutationImpactTest::testSkippedConditionalUpsertHasNoAffectedOrReturningRowscallsInsertMutationTest::testInsertIgnoreUsesPartialConflictPredicatecallsUpsertExpressionTest::testColumnReadsTheSelectedRowAndColumncallsUpsertExpressionTest::testEvaluatesNullNumericTextAndCaseInsensitiveColumnBoundariescallsUpsertExpressionTest::testLiteralAnswersTheValueTheStatementWrotecallsUpsertExpressionTest::testOperandRefusesAColumnTheRowDoesNotCarrycallsUpsertMutationTest::testApplyAccumulatesExistingAndIncomingValuescallsUpsertMutationTest::testApplyAccumulatesSequentialConflictsAgainstLatestRowcallsUpsertMutationTest::testApplyUpdatesExistingRowOnUniqueKeyConflictcallsUpsertMutationTest::testApplyUsesConflictPredicateAndReportsOnlyAppliedRowscallsUpsertMutationTest::testApplyWithExcludedColumnReferencecallsUpsertMutationTest::testApplyWithExcludedQuotedColumnReferencecallsUpsertMutationTest::testApplyWithUpdateValuesExpressioncallsUpsertMutationTest::testConflictPredicateRestrictsIncomingAndExistingCandidateRowscallsUpsertMutationTest::testDatabaseEvaluatedBatchDetectsConflictsWithRowsInsertedEarlierInStatementcallsUpsertMutationTest::testDatabaseEvaluatedBatchReevaluatesAgainstLatestConflictRowcallsUpsertMutationTest::testDatabaseEvaluatedPredicateFallsBackWhenMetadataIsMissingcallsUpsertMutationTest::testSkippedConditionalRowDoesNotStopFollowingRowscallsUpsertUpdateTest::testWithColumnReadsTheExpressionAgainstTheRowAsTheStatementLeftItcalls