Skip to content

Commit

Permalink
feat: EXPOSED-435 Allow insertReturning() to set isIgnore = true
Browse files Browse the repository at this point in the history
Add YT link & test comment
  • Loading branch information
bog-walk committed Jul 3, 2024
1 parent 78c819b commit 613eaf5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class ReturningTests : DatabaseTestsBase() {
}
assertEquals(1, tester.selectAll().count())

// no result set is returned because insert is ignored
val resultWithConflict = tester.insertReturning(ignore = true) {
it[item] = "Item A"
}.toList()
Expand Down

0 comments on commit 613eaf5

Please sign in to comment.